Pattern: Malformed multi-line if
condition
Issue: -
Ensure multi-line if
conditions are defined correctly.
By default, this rule ensures that each line of the condition is indented 4 spaces, but you can change the size of the indent by setting the indent
property.
<rule ref="PEAR.ControlStructures.MultiLineCondition">
<properties>
<property name="indent" value="2" />
</properties>
</rule>