mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-04 20:27:31 +02:00
Add docs
This commit is contained in:
@@ -369,7 +369,8 @@ class NormalizerFormatterTest extends TestCase
|
||||
$record = ['context' => ['exception' => $e]];
|
||||
$result = $formatter->format($record);
|
||||
|
||||
$offset = PHP_VERSION_ID >= 80200 ? 12 : 10;
|
||||
// See https://github.com/php/php-src/issues/8810 fixed in PHP 8.2
|
||||
$offset = PHP_VERSION_ID >= 80200 ? 13 : 11;
|
||||
$this->assertSame(
|
||||
__FILE__.':'.(__LINE__ - $offset),
|
||||
$result['context']['exception']['trace'][0]
|
||||
|
Reference in New Issue
Block a user