Skip to content
On this page

ControlStructureSpacing

Checks that control structures have the correct spacing.

Scope

PSR12.ControlStructures.ControlStructureSpacing

Properties

Property NameTypeDefaultAvailable Since
indentint43.5.0

Usage

xml
<rule ref="PSR12.ControlStructures.ControlStructureSpacing">
    <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.