Merge pull request #1038 from mtmail/phpcs-array-key-alignment

add PHPCS Squiz.Arrays.ArrayDeclaration.KeyNotAligned rule
This commit is contained in:
Sarah Hoffmann
2018-05-08 09:04:03 +02:00
committed by GitHub
4 changed files with 35 additions and 34 deletions

View File

@@ -93,6 +93,8 @@
INDENTATION, SPACING INDENTATION, SPACING
************************************************************** --> ************************************************************** -->
<rule ref="Squiz.Arrays.ArrayDeclaration.KeyNotAligned" />
<!-- Aligned looks nicer, but causes too many warnings currently --> <!-- Aligned looks nicer, but causes too many warnings currently -->
<rule ref="Squiz.Arrays.ArrayDeclaration.DoubleArrowNotAligned"> <rule ref="Squiz.Arrays.ArrayDeclaration.DoubleArrowNotAligned">
<severity>0</severity> <severity>0</severity>
@@ -103,7 +105,6 @@
<!-- ************************************************************** <!-- **************************************************************
VARIABLES VARIABLES
************************************************************** --> ************************************************************** -->