Skip to content

Files

Latest commit

 

History

History
23 lines (15 loc) · 806 Bytes

Squiz.WhiteSpace.SuperfluousWhitespace.md

File metadata and controls

23 lines (15 loc) · 806 Bytes

Pattern: Unnecessary whitespace

Issue: -

Description

This rule enforces that there should not be whitespace at the end of a line, and that functions should not contain multiple blank lines in a row.

Configuration

If the ignoreBlankLines property is set to true, blank lines (lines that contain only whitespace) may have spaces and tabs as their content, and multiple blank lines will be allows inside functions.

<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace">
    <properties>
        <property name="ignoreBlankLines" value="true" />
    </properties>
</rule>

Further Reading