Skip to content

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

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

Conversation

@samsonasik

@samsonasik samsonasik commented Feb 20, 2026

Copy link
Copy Markdown
Member

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
Copy Markdown
Member Author

Fixed 🎉 /cc @t-liesche-tqgg

@samsonasik

Copy link
Copy Markdown
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
@github-actions

Copy link
Copy Markdown
Contributor

This pull request has been automatically locked because it has been closed for 150 days. Please open a new PR if you want to continue the work.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Aug 16, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

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