Skip to content

Commit 34635fd

Browse files
committed
Add docs
1 parent 6fdeea4 commit 34635fd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/Monolog/Formatter/NormalizerFormatterTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,8 @@ public function testExceptionTraceWithArgs()
369369
$record = ['context' => ['exception' => $e]];
370370
$result = $formatter->format($record);
371371

372-
$offset = PHP_VERSION_ID >= 80200 ? 12 : 10;
372+
// See https://github.com/php/php-src/issues/8810 fixed in PHP 8.2
373+
$offset = PHP_VERSION_ID >= 80200 ? 13 : 11;
373374
$this->assertSame(
374375
__FILE__.':'.(__LINE__ - $offset),
375376
$result['context']['exception']['trace'][0]

0 commit comments

Comments
 (0)