Skip to content

Commit 5af281b

Browse files
nicolas-grekassebastianbergmann
authored andcommitted
Collect also engine-level deprecations when building the test suite
This was forgotten in #6165 This makes a difference with today's new "sleep" deprecation, which is not correctly gathered.
1 parent bcaadc4 commit 5af281b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Runner/ErrorHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ public function deprecationHandler(int $errorNumber, string $errorString, string
225225

226226
public function registerDeprecationHandler(): void
227227
{
228-
set_error_handler([self::$instance, 'deprecationHandler'], E_USER_DEPRECATED);
228+
set_error_handler([self::$instance, 'deprecationHandler'], E_USER_DEPRECATED | E_DEPRECATED);
229229
}
230230

231231
public function restoreDeprecationHandler(): void

0 commit comments

Comments
 (0)