Skip to content

Commit

Permalink
Allow multi-line array with single value
Browse files Browse the repository at this point in the history
  • Loading branch information
tomudding committed Apr 28, 2023
1 parent d687ca8 commit 2d4cf40
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/GEWISPHPCodingStandards/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,8 @@
<exclude name="Squiz.Arrays.ArrayDeclaration.KeyNotAligned" />
<!-- Allow multiple values on a single line -->
<exclude name="Squiz.Arrays.ArrayDeclaration.SingleLineNotAllowed" />
<!-- Allow multi-line array with single value -->
<exclude name="Squiz.Arrays.ArrayDeclaration.MultiLineNotAllowed" />
<!-- Disable alignment of braces -->
<exclude name="Squiz.Arrays.ArrayDeclaration.CloseBraceNotAligned" />
<!-- Disable alignment of values with opening brace -->
Expand Down

0 comments on commit 2d4cf40

Please sign in to comment.