mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-06 21:26:43 +02:00
CS fixes
This commit is contained in:
@@ -66,10 +66,10 @@ class IntrospectionProcessorTest extends TestCase
|
||||
|
||||
public function testLevelTooLow()
|
||||
{
|
||||
$input = array(
|
||||
$input = [
|
||||
'level' => Logger::DEBUG,
|
||||
'extra' => array(),
|
||||
);
|
||||
'extra' => [],
|
||||
];
|
||||
|
||||
$expected = $input;
|
||||
|
||||
@@ -81,18 +81,18 @@ class IntrospectionProcessorTest extends TestCase
|
||||
|
||||
public function testLevelEqual()
|
||||
{
|
||||
$input = array(
|
||||
$input = [
|
||||
'level' => Logger::CRITICAL,
|
||||
'extra' => array(),
|
||||
);
|
||||
'extra' => [],
|
||||
];
|
||||
|
||||
$expected = $input;
|
||||
$expected['extra'] = array(
|
||||
$expected['extra'] = [
|
||||
'file' => null,
|
||||
'line' => null,
|
||||
'class' => 'ReflectionMethod',
|
||||
'function' => 'invokeArgs',
|
||||
);
|
||||
];
|
||||
|
||||
$processor = new IntrospectionProcessor(Logger::CRITICAL);
|
||||
$actual = $processor($input);
|
||||
@@ -102,18 +102,18 @@ class IntrospectionProcessorTest extends TestCase
|
||||
|
||||
public function testLevelHigher()
|
||||
{
|
||||
$input = array(
|
||||
$input = [
|
||||
'level' => Logger::EMERGENCY,
|
||||
'extra' => array(),
|
||||
);
|
||||
'extra' => [],
|
||||
];
|
||||
|
||||
$expected = $input;
|
||||
$expected['extra'] = array(
|
||||
$expected['extra'] = [
|
||||
'file' => null,
|
||||
'line' => null,
|
||||
'class' => 'ReflectionMethod',
|
||||
'function' => 'invokeArgs',
|
||||
);
|
||||
];
|
||||
|
||||
$processor = new IntrospectionProcessor(Logger::CRITICAL);
|
||||
$actual = $processor($input);
|
||||
|
Reference in New Issue
Block a user