mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-05 12:47:39 +02:00
Fix build
This commit is contained in:
@@ -8,6 +8,9 @@ parameters:
|
||||
- src/
|
||||
# - tests/
|
||||
|
||||
excludePaths:
|
||||
- 'src/Monolog/Handler/PHPConsoleHandler.php'
|
||||
|
||||
ignoreErrors:
|
||||
- '#zend_monitor_|ZEND_MONITOR_#'
|
||||
- '#MongoDB\\(Client|Collection)#'
|
||||
|
@@ -369,8 +369,9 @@ class NormalizerFormatterTest extends TestCase
|
||||
$record = ['context' => ['exception' => $e]];
|
||||
$result = $formatter->format($record);
|
||||
|
||||
$offset = PHP_VERSION_ID >= 80200 ? 12 : 10;
|
||||
$this->assertSame(
|
||||
__FILE__.':'.(__LINE__-9),
|
||||
__FILE__.':'.(__LINE__ - $offset),
|
||||
$result['context']['exception']['trace'][0]
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user