Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PhpUnitBridge] Fix error handler triggered outside of tests #57110

Merged

Conversation

HypeMC
Copy link
Contributor

@HypeMC HypeMC commented May 25, 2024

Q A
Branch? 5.4
Bug fix? yes
New feature? no
Deprecations? no
Issues Fix #57071
License MIT

The error handler should be invoked only if the error occurred inside a test.

@SpartakusMd
Copy link

Tested the fix and confirm I can run the tests successfully.

@fabpot
Copy link
Member

fabpot commented Jun 4, 2024

Thank you @HypeMC.

@fabpot fabpot merged commit 8ed9bb0 into symfony:5.4 Jun 4, 2024
8 of 13 checks passed
@fabpot fabpot mentioned this pull request Jun 4, 2024
@HypeMC HypeMC deleted the fix-error-handler-triggered-outside-of-tests branch June 4, 2024 07:08
fabpot added a commit that referenced this pull request Jun 15, 2024
This PR was merged into the 5.4 branch.

Discussion
----------

[PhpUnitBridge] Add missing import

| Q             | A
| ------------- | ---
| Branch?       | 5.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Issues        | -
| License       | MIT

Follow up to #57110, looks like I forgot to commit the use statement. 😞

Commits
-------

661e79a [PhpUnitBridge] Add missing import
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants