Commit graph

6 commits

Author SHA1 Message Date
Adirelle f46a8be648 LoggerConfig::getFor always returns the same instance of Logger for the same $name.
This avoid issues when push handlers/processors to that logger.
Use the Monolog\ErrorHandler to log errors and exceptions.
PHPCI/Logging/Handler becomes PHPCI/ErrorHandler.
And it only throws ErrorException for reported errors.
No need to initialize a second $loggerConfig in daemonise.

Close #892
2015-04-23 13:25:53 +02:00
Adirelle 452a5ba97c Enforce "en" lang in tests.
Some tests compare the result to english strings.

Do not test UnixCommandExecutor on Windows.

PharTest: explain why PHAR writing test are skipped.

InstallCommandTest: mock checkRequirements to allow the tests to run.

Run php_parallel_lint before all other tests.

Close #846
2015-04-22 11:49:26 +02:00
steve.brazier b60e278cf9 psr2 tidy up of logging code. 2014-02-27 14:23:51 +00:00
meadsteve 0c12f0b98d fix monolog name spacing in tests. 2013-12-17 15:05:08 +00:00
meadsteve 30bd11f0dd fix testing namespace 2013-12-17 15:03:48 +00:00
meadsteve 8652e579f5 move logging test 2013-12-14 10:41:21 +00:00
Renamed from Tests/PHPCI/Helper/LoggerConfigTest.php (Browse further)