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 8a79ac9 commit 59f3b51Copy full SHA for 59f3b51
src/Framework/TestCase.php
@@ -1978,14 +1978,18 @@ private function getActiveErrorHandlers(): array
1978
1979
while (true) {
1980
$previousHandler = set_error_handler(static fn () => false);
1981
+
1982
restore_error_handler();
1983
1984
if ($previousHandler === null) {
1985
break;
1986
}
1987
1988
$res[] = $previousHandler;
1989
1990
1991
1992
1993
$res = array_reverse($res);
1994
1995
foreach ($res as $handler) {
0 commit comments