Skip to content
On this page

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

Released under the MIT License.