Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue with anon classes #331

Merged
merged 1 commit into from
Jan 27, 2023
Merged

Fix issue with anon classes #331

merged 1 commit into from
Jan 27, 2023

Conversation

driftingly
Copy link
Member

This fixes an issue with OneLineBetweenClassVisibilityChanges formatter when the class includes an anonymous class.

The formatter will reset the previous node whenever it hits an instance of Node\Stmt\Class_

@driftingly driftingly merged commit ad05fc2 into main Jan 27, 2023
@driftingly driftingly deleted the adc/fix-space-between branch January 27, 2023 17:53
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.

2 participants