-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
PHPCBF fails to fix code with heredoc/nowdoc as first argument to a function #1224
Labels
Comments
There is a conflict during fixing that is causing this issue:
|
gsherwood
changed the title
phpcbf fails to fix code with heredoc/nowdoc
PHPCBF fails to fix code with heredoc/nowdoc as first argument to a function
Nov 29, 2016
This is now fixed. The sniff should have been ignoring the space before the comma, but the logic for location the end of the here/nowdoc was incorrect. Thanks for the report. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi!
If the file contains code like:
I got error:
The text was updated successfully, but these errors were encountered: