Skip to content

Commit d9fc105

Browse files
authored
Merge pull request #265 from oliverklee/task/php-compatiblity-sniffs
Enfore the short array syntax
2 parents f4e1fe3 + 04e3419 commit d9fc105

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

phpcs.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,6 @@
1212
<!-- Exclude a rule that requires PHP >= 7.1. -->
1313
<exclude name="PSR12.Properties.ConstantVisibility"/>
1414
</rule>
15+
16+
<rule ref="Generic.Arrays.DisallowLongArraySyntax"/>
1517
</ruleset>

0 commit comments

Comments
 (0)