Skip to content

Files

Latest commit

 

History

History
23 lines (15 loc) · 648 Bytes

PEAR.WhiteSpace.ObjectOperatorIndent.md

File metadata and controls

23 lines (15 loc) · 648 Bytes

Pattern: Malformed object operator indentation

Issue: -

Description

Checks that object operators are indented correctly.

Configuration

By default, this rule ensures that each line is indented 4 spaces, but you can change the size of the indent by setting the indent property.

<rule ref="PEAR.WhiteSpace.ObjectOperatorIndent">
    <properties>
        <property name="indent" value="2" />
    </properties>
</rule>

Further Reading