Skip to content
On this page

SwitchDeclaration

Enforces switch statement formatting.

Scope

Squiz.ControlStructures.SwitchDeclaration

Properties

Property NameTypeDefaultAvailable Since
indentint41.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.

Released under the MIT License.