Skip to content

Comments

[Php83] Fix infinite add - remove #[Override] on tearDown() method on AddOverrideAttributeToOverriddenMethodsRector when combined with NoSetupWithParentCallOverrideRector#7903

Merged
samsonasik merged 1 commit intomainfrom
fix-infinite
Feb 20, 2026

Conversation

@samsonasik
Copy link
Member

@samsonasik samsonasik commented Feb 20, 2026

Fixes rectorphp/rector#9661

due to tearDown() removed #[Override] on PR:

the add #[Override] should be skipped to avoid infinite add-remove the #[Override] on tearDown() as well.

… AddOverrideAttributeToOverriddenMethodsRector when combined with NoSetupWithParentCallOverrideRector
@samsonasik
Copy link
Member Author

Fixed 🎉 /cc @t-liesche-tqgg

@samsonasik
Copy link
Member Author

@TomasVotruba ready 👍 I am merging it to have faster feedback to test ;)

@samsonasik samsonasik merged commit ebf9eb2 into main Feb 20, 2026
59 checks passed
@samsonasik samsonasik deleted the fix-infinite branch February 20, 2026 15:06
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.

Endless loop of : [OK] 1 file has been changed by Rector

1 participant