Skip to content
On this page

OperatorSpacing

Verifies that operators have valid spacing surrounding them.

Scope

Squiz.WhiteSpace.OperatorSpacing

Properties

Property NameTypeDefaultAvailable Since
ignoreNewlinesboolfalse2.2.0
ignoreSpacingBeforeAssignmentsbooltrue3.5.0

Usage

xml
<rule ref="Squiz.WhiteSpace.OperatorSpacing">
    <properties>
        <property name="ignoreSpacingBeforeAssignments" value="false" />
    </properties>
</rule>

Examples

No Examples Available

Please edit this page through Github to add examples.

Released under the MIT License.