Update linting rules to force short array syntax
This commit is contained in:
parent
9aba767e36
commit
6367c3ba0f
|
@ -25,6 +25,11 @@
|
|||
</properties>
|
||||
</rule>
|
||||
|
||||
<!-- use short array syntax (less thirdparty) -->
|
||||
<rule ref="Generic.Arrays.DisallowLongArraySyntax">
|
||||
<exclude-pattern>/thirdparty/*</exclude-pattern>
|
||||
</rule>
|
||||
|
||||
<!-- include php files only -->
|
||||
<arg name="extensions" value="php,lib,inc,php5"/>
|
||||
|
||||
|
|
Loading…
Reference in New Issue