Skip to content

Keep blank lines between methods in EventSubscriberInterfaceToAttributeRector - #545

Merged
TomasVotruba merged 1 commit into
mainfrom
preserve-blank-lines-eventsubscriber-fixtures
Oct 29, 2026
Merged

TomasVotruba merged 1 commit into
mainfrom
preserve-blank-lines-eventsubscriber-fixtures

Conversation

@TomasVotruba

Copy link
Copy Markdown
Member

Follow-up to rectorphp/rector-src#8886.

That rector-src PR fixes the format-preserving printer so removing the last interface from a class no longer collapses the blank lines between its methods. These two fixtures encoded the old collapsed output; this regenerates them to the corrected spacing.

Note: CI stays red until rector-src#8886 is merged and released, since it pulls rector/rector-src dev-main which does not yet contain the printer fix.

@TomasVotruba
TomasVotruba enabled auto-merge (squash) October 29, 2026 08:36
@TomasVotruba
TomasVotruba disabled auto-merge October 29, 2026 08:36
@TomasVotruba
TomasVotruba merged commit 34aabc0 into main Oct 29, 2026
7 of 8 checks passed
@TomasVotruba
TomasVotruba deleted the preserve-blank-lines-eventsubscriber-fixtures branch October 29, 2026 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant