-
-
Notifications
You must be signed in to change notification settings - Fork 376
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fd75e48
commit c41f730
Showing
2 changed files
with
9 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c41f730
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@staabm Not entirely sure, but I suspect this change broke something: https://github.com/sebastianbergmann/phpunit/actions/runs/12426606434/job/34695291633
c41f730
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you are right that the problem is triggered from this code here.
the root cause seems to be some error handler which turns warnings into exceptions
(and does not respect the
@
operator)c41f730
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be the relevant code from PHPUnit's error handler:
https://github.com/sebastianbergmann/phpunit/blob/9c95792570a40b05991f3842c3005d848c8b1fc9/src/Runner/ErrorHandler.php#L82-L88
c41f730
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ahh.. the stacktrace of your first link makes the problem obvious. working on a fix