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 9c1fb56 commit 6fdeea4Copy full SHA for 6fdeea4
phpstan.neon.dist
@@ -8,6 +8,9 @@ parameters:
8
- src/
9
# - tests/
10
11
+ excludePaths:
12
+ - 'src/Monolog/Handler/PHPConsoleHandler.php'
13
+
14
ignoreErrors:
15
- '#zend_monitor_|ZEND_MONITOR_#'
16
- '#MongoDB\\(Client|Collection)#'
tests/Monolog/Formatter/NormalizerFormatterTest.php
@@ -369,8 +369,9 @@ public function testExceptionTraceWithArgs()
369
$record = ['context' => ['exception' => $e]];
370
$result = $formatter->format($record);
371
372
+ $offset = PHP_VERSION_ID >= 80200 ? 12 : 10;
373
$this->assertSame(
- __FILE__.':'.(__LINE__-9),
374
+ __FILE__.':'.(__LINE__ - $offset),
375
$result['context']['exception']['trace'][0]
376
);
377
}
0 commit comments