-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
[Formatting Bug]: #929
Comments
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
1.41.1
Template before formatting
Template after formatting
Expected Behaviour
Relevant log output
The error encountered during runtime due to the added comma results in a PHP syntax error:
Additional Context
Laravel Version: v10.48.9
Issue occurs in a development environment using Laravel Blade files, specifically impacting PHP expressions wrapped in @php directives.
Steps to Reproduce
Use a Blade file with a complex @php directive containing multiple chained method calls.
Format the file using the blade-formatter with the specified configuration.
Observe the introduction of a comma at the end of the PHP expression, leading to syntax errors.
Relevant log output
The text was updated successfully, but these errors were encountered: