Skip to content

Commit ccdabfe

Browse files
committed
CS: normalize indentation of switch statements
Includes adjusting the rule in the PHPCS native ruleset to enforce this.
1 parent 607b279 commit ccdabfe

File tree

115 files changed

+4616
-4614
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+4616
-4614
lines changed

phpcs.xml.dist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,11 @@
3232
<exclude name="PEAR.Commenting.FileComment.MissingVersion"/>
3333
<exclude name="PEAR.Commenting.InlineComment"/>
3434
<exclude name="Generic.Files.LineLength"/>
35+
<exclude name="PEAR.WhiteSpace.ScopeIndent"/>
3536
</rule>
3637

3738
<!-- Include some sniffs from other standards that don't conflict with PEAR -->
39+
<rule ref="Generic.WhiteSpace.ScopeIndent"/>
3840
<rule ref="Squiz.Arrays.ArrayBracketSpacing"/>
3941
<rule ref="Squiz.Arrays.ArrayDeclaration"/>
4042
<rule ref="PSR12.Classes.ClosingBrace"/>

0 commit comments

Comments
 (0)