OperatorSpacing
Verifies that operators have valid spacing surrounding them.
Scope
Squiz.WhiteSpace.OperatorSpacing
Properties
Property Name | Type | Default | Available Since |
---|---|---|---|
ignoreNewlines | bool | false | 2.2.0 |
ignoreSpacingBeforeAssignments | bool | true | 3.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.