Skip to content

Commit 6968b7a

Browse files
Merge branch '11.5'
2 parents dac4a5f + 0009ef0 commit 6968b7a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Runner/ErrorHandler.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,13 @@ private function stackTrace(): string
400400
$excludeList = new ExcludeList(true);
401401

402402
foreach ($this->errorStackTrace() as $frame) {
403+
/**
404+
* @see https://github.com/sebastianbergmann/phpunit/issues/6043
405+
*/
406+
if (!isset($frame['file'])) {
407+
continue;
408+
}
409+
403410
if ($excludeList->isExcluded($frame['file'])) {
404411
continue;
405412
}

0 commit comments

Comments
 (0)