Skip to content

Commit

Permalink
Revert "Merge branch '10.5'"
Browse files Browse the repository at this point in the history
This reverts commit 0426889, reversing
changes made to c24bc0b.
  • Loading branch information
sebastianbergmann committed Jan 22, 2024
1 parent 0426889 commit 26e8bf4
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 103 deletions.
8 changes: 1 addition & 7 deletions src/Runner/ErrorHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,13 +166,7 @@ public function enable(): void
return;
}

$oldErrorHandler = set_error_handler($this);

if ($oldErrorHandler !== null) {
restore_error_handler();

return;
}
set_error_handler($this);

$this->enabled = true;
$this->originalErrorReportingLevel = error_reporting();
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 26e8bf4

Please sign in to comment.