Skip to content

Commit ecece3d

Browse files
committed
import MultipleStatementAlignment sniff by ruleset
1 parent 1139e61 commit ecece3d

File tree

5 files changed

+6
-202
lines changed

5 files changed

+6
-202
lines changed

Sniffs/Formatting/MultipleStatementAlignmentSniff.php

Lines changed: 0 additions & 38 deletions
This file was deleted.

Tests/Formatting/MultipleStatementAlignmentUnitTest.fail.inc

Lines changed: 0 additions & 41 deletions
This file was deleted.

Tests/Formatting/MultipleStatementAlignmentUnitTest.pass.inc

Lines changed: 0 additions & 37 deletions
This file was deleted.

Tests/Formatting/MultipleStatementAlignmentUnitTest.php

Lines changed: 0 additions & 85 deletions
This file was deleted.

ruleset.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,14 @@
99
<!-- exclude sniffs that are extended by this standard -->
1010
<exclude name="PEAR.Functions.FunctionCallSignature"/>
1111
<exclude name="PSR2.Namespaces.UseDeclaration"/>
12-
<exclude name="Generic.Formatting.MultipleStatementAlignment"/>
12+
<!-- <exclude name="Generic.Formatting.MultipleStatementAlignment"/> -->
1313
</rule>
1414

1515
<rule ref="Generic.Formatting.SpaceAfterCast"/>
16+
<rule ref="Generic.Formatting.MultipleStatementAlignment">
17+
<properties>
18+
<property name="error" value="true"/>
19+
</properties>
20+
</rule>
1621
</ruleset>
1722

0 commit comments

Comments
 (0)