We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e3d374 commit d3ae31dCopy full SHA for d3ae31d
1 file changed
tests/ErrorHandler/ErrorHandlerTest.php
@@ -569,7 +569,7 @@ public function testThrowErrorException()
569
$trace = $exception->getTrace();
570
self::assertSame($errorVals['file'], $trace[1]['file']);
571
self::assertSame($backtraceLine, $trace[1]['line']);
572
- PHP_VERSION_ID >= 70000 && PHP_VERSION_ID < 80500
+ PHP_VERSION_ID >= 70000 && \bdk\Backtrace\Xdebug::isXdebugFuncStackAvail()
573
? self::assertSame('bdk\\Test\\ErrorHandler\\ErrorHandlerTest->raiseError', $trace[1]['function'])
574
: self::assertSame('bdk\\Test\\ErrorHandler\\AbstractTestCase->raiseError', $trace[1]['function']);
575
self::assertSame(__CLASS__ . '->' . __FUNCTION__, $trace[2]['function']);
0 commit comments