You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using php.ini auto_prepend_file where the file contains an error handler (I assume same issue with exception handlers) like
set_error_handler(static fn () => false);
test Issue5592Test fails:
-There was 1 risky test:
+There were 2 risky tests:
Current behavior
phpunit test suite fails
How to reproduce
./phpunit after adding error handler like in summary
Expected behavior
No error
This matters beyond this specific test, as the number of "risky" tests differs depending on whether or not an error/exception handler is defined in an auto_prepend_file or not.
Possibly this also happens when a PHP (PECL) extension defines an error/exception handler.
The text was updated successfully, but these errors were encountered:
Summary
When using php.ini
auto_prepend_file
where the file contains an error handler (I assume same issue with exception handlers) liketest Issue5592Test fails:
Current behavior
phpunit test suite fails
How to reproduce
./phpunit
after adding error handler like in summaryExpected behavior
No error
This matters beyond this specific test, as the number of "risky" tests differs depending on whether or not an error/exception handler is defined in an
auto_prepend_file
or not.Possibly this also happens when a PHP (PECL) extension defines an error/exception handler.
The text was updated successfully, but these errors were encountered: