$e = &
$v['context'
]['exception'
];
$e =
isset($e["\0*\0message"
]) ?
[$e["\0*\0message"
],
$e["\0*\0severity"
]] :
[$e["\0Symfony\Component\ErrorHandler\Exception\SilencedErrorContext\0severity"
]];
} return $v;
},
$c->
getLogs()->
getValue(true
));
$this->
assertEquals($expectedLogs,
$logs);
$this->
assertEquals($expectedDeprecationCount,
$c->
countDeprecations());
$this->
assertEquals($expectedScreamCount,
$c->
countScreams());
if (isset($expectedPriorities)) { $this->
assertSame($expectedPriorities,
$c->
getPriorities()->
getValue(true
));
} } public static function getCollectTestData() { yield 'simple log' =>
[ 1,
[['message' => 'foo', 'context' =>
[], 'priority' => 100, 'priorityName' => 'DEBUG'
]],
[['message' => 'foo', 'context' =>
[], 'priority' => 100, 'priorityName' => 'DEBUG'
]],
0,
0,
];