Squiz.Arrays.ArrayDeclaration.NoComma
adds invalid comma to certain match
statements since 3.10.1
#747
Labels
Squiz.Arrays.ArrayDeclaration.NoComma
adds invalid comma to certain match
statements since 3.10.1
#747
Describe the bug
Mentioned fixable sniff breaks the PHP code as follows:
Code sample
Custom ruleset
To reproduce
Steps to reproduce the behavior:
test.php
with the code sample abovephpcs.xml
with the custom ruleset abovephpcbf test.php
Expected behavior
No file changes.
Versions
Additional context
Version 3.10.0 does not contains this issue.
Please confirm
master
branch of PHP_CodeSniffer.The text was updated successfully, but these errors were encountered: