mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Update linting rules to force short array syntax
This commit is contained in:
parent
9aba767e36
commit
6367c3ba0f
@ -25,6 +25,11 @@
|
|||||||
</properties>
|
</properties>
|
||||||
</rule>
|
</rule>
|
||||||
|
|
||||||
|
<!-- use short array syntax (less thirdparty) -->
|
||||||
|
<rule ref="Generic.Arrays.DisallowLongArraySyntax">
|
||||||
|
<exclude-pattern>/thirdparty/*</exclude-pattern>
|
||||||
|
</rule>
|
||||||
|
|
||||||
<!-- include php files only -->
|
<!-- include php files only -->
|
||||||
<arg name="extensions" value="php,lib,inc,php5"/>
|
<arg name="extensions" value="php,lib,inc,php5"/>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user