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 24fc7c2 commit 9a8a8edCopy full SHA for 9a8a8ed
src/Framework/TestRunner.php
@@ -13,6 +13,7 @@
13
use function assert;
14
use function class_exists;
15
use function defined;
16
+use function error_clear_last;
17
use function extension_loaded;
18
use function get_include_path;
19
use function hrtime;
@@ -84,6 +85,8 @@ public function run(TestCase $test): void
84
85
$risky = false;
86
$skipped = false;
87
88
+ error_clear_last();
89
+
90
if ($this->shouldErrorHandlerBeUsed($test)) {
91
ErrorHandler::instance()->enable();
92
}
0 commit comments