-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Convert PHPUnit @expectedException into method call #8069
Labels
Milestone
Comments
@greg0ire have a take at it if you want :) |
I'm on it! |
greg0ire
added a commit
to greg0ire/doctrine-orm
that referenced
this issue
Mar 15, 2020
These changes have been done using Rector, this might not result in the best placement for method calls, but it is not worse than the current situation. I used the configuration documented at https://github.com/rectorphp/rector/blob/b398e8740c3619525061350d4d4e1bca20dabea9/docs/HowItWorks.md#221-order-of-rectors Fixes doctrine#8069
greg0ire
added a commit
to greg0ire/doctrine-orm
that referenced
this issue
Mar 15, 2020
These changes have been done using Rector, this might not result in the best placement for method calls, but it is not worse than the current situation. I used the configuration documented at https://github.com/rectorphp/rector/blob/b398e8740c3619525061350d4d4e1bca20dabea9/docs/HowItWorks.md#221-order-of-rectors Fixes doctrine#8069
beberlei
pushed a commit
that referenced
this issue
Mar 16, 2020
These changes have been done using Rector, this might not result in the best placement for method calls, but it is not worse than the current situation. I used the configuration documented at https://github.com/rectorphp/rector/blob/b398e8740c3619525061350d4d4e1bca20dabea9/docs/HowItWorks.md#221-order-of-rectors Fixes #8069
Fixed by #8070 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In #8050 we found usage of a deprecated PHPUnit functionality. We should move all
@expectedException
and@expectedExceptionMessage
inline into the code to their respective method calls.Is there a Rector script for this?
The text was updated successfully, but these errors were encountered: