Skip to content
On this page

FunctionDeclarationArgumentSpacing

Checks that arguments in function declarations are spaced correctly.

Scope

Squiz.Functions.FunctionDeclarationArgumentSpacing

Properties

Property NameTypeDefaultAvailable Since
equalsSpacingint01.3.5
requiredSpacesAfterOpenint01.5.2
requiredSpacesBeforeCloseint01.5.2

Usage

xml
<rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing">
    <properties>
        <property name="requiredSpacesAfterOpen" value="1" />
        <property name="requiredSpacesBeforeClose" value="1" />
    </properties>
</rule>

Examples

No Examples Available

Please edit this page through Github to add examples.

Released under the MIT License.