mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-11 07:34:12 +02:00
CS fixes
This commit is contained in:
@@ -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],
|
||||
];
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user