Skip to content

[CodingStyle] Fix infinite loop on NewlineAfterStatementRector when parent attribute with next node is different#3434

Merged
samsonasik merged 1 commit intomainfrom
fix-infinite-loop-newline
Mar 2, 2023
Merged

[CodingStyle] Fix infinite loop on NewlineAfterStatementRector when parent attribute with next node is different#3434
samsonasik merged 1 commit intomainfrom
fix-infinite-loop-newline

Conversation

@samsonasik
Copy link
Copy Markdown
Member

This is to fix rectorphp/rector#7816

Only reproducible with combined with Typo3LevelSetList::UP_TO_TYPO3_11,

@samsonasik samsonasik requested a review from TomasVotruba as a code owner March 2, 2023 00:08
@samsonasik samsonasik enabled auto-merge (squash) March 2, 2023 00:09
@samsonasik samsonasik changed the title [CodingStyle] Fix infinite loop on NewlineAfterStatementRector when parent attribute is different [CodingStyle] Fix infinite loop on NewlineAfterStatementRector when parent attribute with next node is different Mar 2, 2023
@samsonasik samsonasik merged commit 1c231db into main Mar 2, 2023
@samsonasik samsonasik deleted the fix-infinite-loop-newline branch March 2, 2023 00:17
samsonasik added a commit that referenced this pull request May 8, 2023
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.

out of memory error

1 participant