Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 730 Bytes

PEAR.ControlStructures.ControlSignature.md

File metadata and controls

23 lines (15 loc) · 730 Bytes

Pattern: Malformed control statement

Issue: -

Description

Verifies that control structures match a specific pattern of whitespace and bracket placement.

Configuration

By default, comments placed within the declaration will generate an error, but the rule can be told to ignore comments by setting the ignoreComments property to true.

<rule ref="PEAR.ControlStructures.ControlSignature">
    <properties>
        <property name="ignoreComments" value="false" />
    </properties>
</rule>

Further Reading