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