Skip to content

Commit

Permalink
check indentation of arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
VasekPurchart committed Dec 15, 2017
1 parent 536054f commit e273382
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Consistence/ruleset.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<?xml version="1.0"?>
<ruleset name="Consistence">
<rule ref="Generic.Arrays.ArrayIndent">
<exclude name="Generic.Arrays.ArrayIndent.CloseBraceNotNewLine"/><!-- multiline items causes evaluation as multiline array https://github.com/squizlabs/PHP_CodeSniffer/issues/1791 -->
</rule>
<rule ref="Generic.Arrays.DisallowLongArraySyntax"/>
<rule ref="Generic.Classes.DuplicateClassName"/>
<rule ref="Generic.CodeAnalysis.EmptyStatement">
Expand Down

0 comments on commit e273382

Please sign in to comment.