Skip to content

Conversation

@samsonasik
Copy link
Member

@samsonasik samsonasik commented Oct 23, 2025

@samsonasik
Copy link
Member Author

Fixed 🎉 /cc @billypoke

@samsonasik
Copy link
Member Author

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

@samsonasik samsonasik merged commit b2667d6 into main Oct 23, 2025
53 checks passed
@samsonasik samsonasik deleted the fix-trailing branch October 23, 2025 16:56
@TomasVotruba
Copy link
Member

I wonder if this should be handled by php-parser itself. Maybe better than hack around here

@samsonasik
Copy link
Member Author

Yes, I will try if I can do that

@samsonasik
Copy link
Member Author

I created test PR to nikic/php-parser for this case:

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.

Trailing Comma is preserved with FunctionLikeToFirstClassCallableRector resulting in ParseError

3 participants