Skip to content

Commit

Permalink
Merge pull request #28 from rantonmattei/fix-fixtures2
Browse files Browse the repository at this point in the history
Fixed fixture files with propoer class and param names
  • Loading branch information
rantonmattei committed Jul 29, 2015
2 parents 151441c + 472a5af commit fdf99f9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 14 deletions.
19 changes: 7 additions & 12 deletions tests/Fixtures/fixture_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,28 @@
"disable_existing_loggers": false,
"formatters": {
"simple": {
"class": "Monolog\\Formatter\\LineFormatter",
"format": "%(asctime)s - %(name)s - %(levelname)s - %(message)s"
}
},
"handlers": {
"console": {
"class": "logging.StreamHandler",
"class": "Monolog\\Handler\\StreamHandler",
"level": "DEBUG",
"formatter": "simple",
"stream": "ext://sys.stdout"
"stream": "php://stdout"
},
"info_file_handler": {
"class": "logging.handlers.RotatingFileHandler",
"class": "Monolog\\Handler\\StreamHandler",
"level": "INFO",
"formatter": "simple",
"filename": "info.log",
"maxBytes": 10485760,
"backupCount": 20,
"encoding": "utf8"
"stream": "./info.log"
},
"error_file_handler": {
"class": "logging.handlers.RotatingFileHandler",
"class": "Monolog\\Handler\\StreamHandler",
"level": "ERROR",
"formatter": "simple",
"filename": "errors.log",
"maxBytes": 10485760,
"backupCount": 20,
"encoding": "utf8"
"stream": "./error.log"
}
},
"processors": {
Expand Down
2 changes: 0 additions & 2 deletions tests/Fixtures/fixture_config.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
'spaced' => array(
'format' => "%datetime% %channel%.%level_name% %message%\n",
'include_stacktraces' => true
# dummy_option: "heyhey"
# date_format: "Y/m/d"
),
'dashed' => array(
'format' => "%datetime%-%channel%.%level_name% - %message%\n"
Expand Down

0 comments on commit fdf99f9

Please sign in to comment.