Skip to content

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

Merged
TomasVotruba merged 9 commits intorectorphp:mainfrom
andrew-demb:make-static-only-static-methods
May 2, 2025
Merged

Ensure that rule PreferPHPUnitSelfCall refactor call only for static methods, not any#482
TomasVotruba merged 9 commits intorectorphp:mainfrom
andrew-demb:make-static-only-static-methods

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

Comments