We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fdeea4 commit 34635fdCopy full SHA for 34635fd
tests/Monolog/Formatter/NormalizerFormatterTest.php
@@ -369,7 +369,8 @@ public function testExceptionTraceWithArgs()
369
$record = ['context' => ['exception' => $e]];
370
$result = $formatter->format($record);
371
372
- $offset = PHP_VERSION_ID >= 80200 ? 12 : 10;
+ // See https://github.com/php/php-src/issues/8810 fixed in PHP 8.2
373
+ $offset = PHP_VERSION_ID >= 80200 ? 13 : 11;
374
$this->assertSame(
375
__FILE__.':'.(__LINE__ - $offset),
376
$result['context']['exception']['trace'][0]
0 commit comments