Skip to content

Commit 994f741

Browse files
authored
Merge pull request #7 from PHPCSStandards/feature/demand-short-arrays
Ruleset: demand short array syntax
2 parents 83e147a + 476cf0a commit 994f741

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

PHPCSDev/ruleset.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,9 @@
131131
####################################################################
132132
-->
133133

134+
<!-- Enforce short array syntax. -->
135+
<rule ref="Generic.Arrays.DisallowLongArraySyntax"/>
136+
134137
<!-- Use normalized array indentation. -->
135138
<rule ref="Generic.Arrays.ArrayIndent"/>
136139
<rule ref="Squiz.Arrays.ArrayDeclaration"/>

0 commit comments

Comments
 (0)