We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1cc5e8d commit 444b087Copy full SHA for 444b087
Yii2/Sniffs/PHP/DisallowLongArraySyntaxSniff.php
Yii2/ruleset.xml
@@ -28,7 +28,7 @@
28
<!-- TODO: -->
29
30
<!-- ... other Yii2 specific rules. -->
31
- <rule ref="Yii2.PHP.DisallowLongArraySyntax"/>
+ <rule ref="Generic.Arrays.DisallowLongArraySyntax"/>
32
33
<exclude-pattern>*/i18n/data/*</exclude-pattern>
34
<exclude-pattern>*/views/errorHandler/*</exclude-pattern>
composer.json
@@ -49,6 +49,6 @@
49
},
50
"require": {
51
"php": ">=5.4.0",
52
- "squizlabs/php_codesniffer": "*"
+ "squizlabs/php_codesniffer": ">=2.3.1"
53
}
54
0 commit comments