ControlStructureSpacing
Checks that control structures have the correct spacing.
Scope
PSR12.ControlStructures.ControlStructureSpacing
Properties
Property Name | Type | Default | Available Since |
---|---|---|---|
indent | int | 4 | 3.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.