Skip to content

Remove trailing comma by token instead of set origNode to null#259

Merged
samsonasik merged 2 commits intomainfrom
trailing-comma
Dec 16, 2024
Merged

Remove trailing comma by token instead of set origNode to null#259
samsonasik merged 2 commits intomainfrom
trailing-comma

Conversation

@samsonasik
Copy link
Member

@samsonasik samsonasik commented Dec 16, 2024

To avoid issue like in DowngradeFlexibleHeredocSyntaxRector when combined like in:

but for function call and unset, so avoid reprint when possible.

@samsonasik
Copy link
Member Author

All checks have passed 🎉 @TomasVotruba I am merging it ;)

@samsonasik samsonasik merged commit 7b990bd into main Dec 16, 2024
6 checks passed
@samsonasik samsonasik deleted the trailing-comma branch December 16, 2024 14:58
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.

1 participant