-
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
PEAR/FunctionCallSignature: new bug introduced via #2506 #2647
Milestone
Comments
gsherwood
added a commit
that referenced
this issue
Oct 13, 2019
Thanks a lot for finding and reporting this. Was an issue when the array index was a string - the sniff was trying to account for multi-line strings but I forgot about that case. Any chance you can give the sniff another test? |
Thanks. Tested and on the project where I found the issue all looks fine. If I find additional issues at a later point, I will open a new issue. |
Thanks a lot for retesting this. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The fix for issue #2506 has introduced a new bug where code which is formatted perfectly fine, now triggers errors.
Simplest code pattern I could find to reproduce the issue:
I think it may have something to do with function calls within array declarations as all the instances I've seen so far have involved those.
Command to reproduce:
Unexpected errors - no errors should be thrown, this code is clean:
The text was updated successfully, but these errors were encountered: