Skip to content

Commit

Permalink
move multiline array into code review
Browse files Browse the repository at this point in the history
  • Loading branch information
ofbeaton committed Mar 21, 2019
1 parent ec3a676 commit 1767dfb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions phpcs/granite-syntax/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,12 @@
<!-- aligning keys to the open brace makes the line limit impossible to do -->
<exclude name="Squiz.Arrays.ArrayDeclaration.KeyNotAligned"/>
<exclude name="Squiz.Arrays.ArrayDeclaration.CloseBraceNotAligned"/>
<!-- don't force single item arrays onto one line, we may expect having to add more keys later -->
</rule>

<!-- Code review: don't force single item arrays onto one line, we may expect having to add more keys later -->
<rule ref="Squiz.Arrays.ArrayDeclaration.MultiLineNotAllowed">
<severity>3</severity>
</rule>

<rule ref="Squiz.Classes.ClassDeclaration"/>
Expand Down

0 comments on commit 1767dfb

Please sign in to comment.