-
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
False Positive: Squiz.Arrays.ArrayDeclaration.ValueNoNewline #3952
Labels
Comments
Please don't open issues in this repo anymore. This repo is abandoned and https://github.com/PHPCSStandards/PHP_CodeSniffer is its successor. See: #3932 Also, please start by updating your PHPCS install to the latest release (3.10.1) and only report in the new repo if the issue still exists. |
Ah sorry, got confused |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Squiz.Arrays.ArrayDeclaration.ValueNoNewline gives false positives
Code sample
To reproduce
Steps to reproduce the behavior:
test.php
with the code sample above...phpcs test.php ...
Expected behavior
No rrror
Versions (please complete the following information)
Please confirm:
master
branch of PHP_CodeSniffer. (since False Positive: Squiz.Arrays.ArrayDeclaration.ValueNoNewline: The first value in a multi-value array must be on a new line #2937 was closed as resolved I guess this is another case.)The text was updated successfully, but these errors were encountered: