ScopeClosingBrace
Checks that the closing braces of scopes are aligned correctly.
Scope
PEAR.WhiteSpace.ScopeClosingBrace
Description
Closing braces should be indented at the same level as the beginning of the scope.
Properties
Property Name | Type | Default | Available Since |
---|---|---|---|
indent | int | 4 | 1.3.4 |
Usage
xml
<rule ref="PEAR.WhiteSpace.ScopeClosingBrace">
<properties>
<property name="indent" value="2" />
</properties>
</rule>
Examples
No Examples Available
Please edit this page through Github to add examples.