Skip to content

Ensure that rule PreferPHPUnitSelfCall refactor call only for static methods, not any #482

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

Merged
merged 9 commits into from
May 2, 2025
Merged

Ensure that rule PreferPHPUnitSelfCall refactor call only for static methods, not any #482

merged 9 commits into from
May 2, 2025

Conversation

andrew-demb
Copy link
Contributor

@andrew-demb andrew-demb commented May 2, 2025

… for static call before checking with enum

As suggested in review comment #482 (comment)
@samsonasik
Copy link
Member

I will let @TomasVotruba decide on this ;)

@samsonasik samsonasik requested a review from TomasVotruba May 2, 2025 13:56
@TomasVotruba
Copy link
Member

Awesome work, thank you 👍

@TomasVotruba TomasVotruba merged commit ab9e383 into rectorphp:main May 2, 2025
6 checks passed
@andrew-demb andrew-demb deleted the make-static-only-static-methods branch May 2, 2025 15:05
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.

Incorrect behavior of PreferPHPUnitSelfCallRector, PreferPHPUnitThisCallRector
3 participants