Skip to content

Commit 5d632e4

Browse files
committed
Exclude rule that disallows short array syntax
1 parent 006eca0 commit 5d632e4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

WP_CLI_CS/ruleset.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@
7272
<!-- Make some allowance for the fact that the code will be run in a command-line environment. -->
7373
<exclude name="Generic.PHP.BacktickOperator"/>
7474

75+
<!-- We want to stick with short array syntax for WP-CLI. -->
76+
<exclude name="Generic.Arrays.DisallowShortArraySyntax"/>
7577
</rule>
7678

7779

0 commit comments

Comments
 (0)