1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-08 22:26:41 +02:00
This commit is contained in:
Jordi Boggiano
2014-03-23 20:50:26 +01:00
parent 8222de98a4
commit 392ef35fd4
29 changed files with 55 additions and 88 deletions

View File

@@ -162,7 +162,7 @@ class LoggerTest extends \PHPUnit_Framework_TestCase
$logger = new Logger(__METHOD__);
$handler = new TestHandler;
$logger->pushHandler($handler);
$logger->pushProcessor(function($record) {
$logger->pushProcessor(function ($record) {
$record['extra']['win'] = true;
return $record;
@@ -216,7 +216,7 @@ class LoggerTest extends \PHPUnit_Framework_TestCase
;
$logger->pushHandler($handler);
$that = $this;
$logger->pushProcessor(function($record) use ($that) {
$logger->pushProcessor(function ($record) use ($that) {
$that->fail('The processor should not be called');
});
$logger->addAlert('test');