Pattern: Invalid function declaration
Issue: -
Ensure single and multi-line function declarations are defined correctly.
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>