Skip to content

Commit

Permalink
Add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Seldaek committed Jul 22, 2022
1 parent 6fdeea4 commit 34635fd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/Monolog/Formatter/NormalizerFormatterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,8 @@ public function testExceptionTraceWithArgs()
$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]
Expand Down

0 comments on commit 34635fd

Please sign in to comment.