SwitchDeclaration
Enforces switch statement formatting.
Scope
Squiz.ControlStructures.SwitchDeclaration
Properties
Property Name | Type | Default | Available Since |
---|---|---|---|
indent | int | 4 | 1.4.7 |
Usage
xml
<rule ref="Squiz.ControlStructures.SwitchDeclaration">
<properties>
<property name="indent" value="2" />
</properties>
</rule>
Examples
No Examples Available
Please edit this page through Github to add examples.