Skip to content

Files

Latest commit

 

History

History
23 lines (15 loc) · 654 Bytes

PEAR.Functions.FunctionDeclaration.md

File metadata and controls

23 lines (15 loc) · 654 Bytes

Pattern: Invalid function declaration

Issue: -

Description

Ensure single and multi-line function declarations are defined 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.Functions.FunctionDeclaration">
    <properties>
        <property name="indent" value="2" />
    </properties>
</rule>

Further Reading