Pattern: Malformed closing brace indentation
Issue: -
Checks that the closing braces of scopes are aligned correctly.
By default, this rule ensures that the statement is indented 4 spaces from the case
or default
keyword, but you can change the size of the indent by setting the indent
property.
<rule ref="PEAR.WhiteSpace.ScopeClosingBrace">
<properties>
<property name="indent" value="2" />
</properties>
</rule>