1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-11 07:34:12 +02:00
This commit is contained in:
Jordi Boggiano
2016-05-26 20:54:06 +01:00
parent 85e43a5e7b
commit f200e79879
115 changed files with 1138 additions and 1123 deletions

View File

@@ -47,20 +47,20 @@ class TestHandlerTest extends TestCase
$records = $handler->getRecords();
unset($records[0]['formatted']);
$this->assertEquals(array($record), $records);
$this->assertEquals([$record], $records);
}
public function methodProvider()
{
return array(
array('Emergency', Logger::EMERGENCY),
array('Alert' , Logger::ALERT),
array('Critical' , Logger::CRITICAL),
array('Error' , Logger::ERROR),
array('Warning' , Logger::WARNING),
array('Info' , Logger::INFO),
array('Notice' , Logger::NOTICE),
array('Debug' , Logger::DEBUG),
);
return [
['Emergency', Logger::EMERGENCY],
['Alert' , Logger::ALERT],
['Critical' , Logger::CRITICAL],
['Error' , Logger::ERROR],
['Warning' , Logger::WARNING],
['Info' , Logger::INFO],
['Notice' , Logger::NOTICE],
['Debug' , Logger::DEBUG],
];
}
}