Skip to content
On this page

FunctionCallSignature

Ensures function calls are formatted correctly.

Scope

PEAR.Functions.FunctionCallSignature

Description

Functions should be called with no spaces between the function name, the opening parenthesis, and the first parameter; and no space between the last parameter, the closing parenthesis, and the semicolon.

Properties

Property NameTypeDefaultAvailable Since
allowMultipleArgumentsbooltrue1.3.6
indentint41.3.4
requiredSpacesAfterOpenint01.5.2
requiredSpacesBeforeCloseint01.5.2

Usage

xml
<rule ref="PEAR.Functions.FunctionCallSignature">
    <properties>
        <property name="indent" value="2" />
    </properties>
</rule>

Examples

No Examples Available

Please edit this page through Github to add examples.

Released under the MIT License.