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

Move WithConsecutiveRector to its PHPUnit100 namespace, CreateMockToAnonymousClassRector + PreferPHPUnitSelfCallRector to CodeQuality #360

Merged
merged 2 commits into from
Sep 22, 2024

Conversation

TomasVotruba
Copy link
Member

@TomasVotruba TomasVotruba commented Sep 22, 2024

Just noticed this when the rule could not be found:

https://getrector.com/find-rule?query=withConsecutive

It was in wrong location, should be always in /rules. This PR fixes them to Rector-extension standard and fixes the find-rule page consequently (pun intended :))

@TomasVotruba TomasVotruba changed the title Move WithConsecutiveRector to its PHPUnit100 namespace Move WithConsecutiveRector to its PHPUnit100 namespace, CreateMockToAnonymousClassRector + PreferPHPUnitSelfCallRector to CodeQuality Sep 22, 2024
@TomasVotruba
Copy link
Member Author

Risk of BC break is present, but these are part of sets, or used as onesies - run once and then removed. So we should be fine :)

@TomasVotruba TomasVotruba merged commit bffd163 into main Sep 22, 2024
5 checks passed
@TomasVotruba TomasVotruba deleted the tv-fix-location branch September 22, 2024 19:04
@smichaelsen
Copy link

Ran into this as a breaking change. But was only a 5 minutes inconvenience until I figured it out. Thanks for your work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants