ObjectOperatorSpacing
Ensure there is no whitespace before/after an object operator.
Scope
Squiz.WhiteSpace.ObjectOperatorSpacing
Description
The object operator (->) should not have any space around it.
Properties
Property Name | Type | Default | Available Since |
---|---|---|---|
ignoreNewlines | bool | false | 2.7.0 |
Usage
xml
<rule ref="Squiz.WhiteSpace.ObjectOperatorSpacing">
<properties>
<property name="ignoreNewlines" value="true" />
</properties>
</rule>
Examples
No Examples Available
Please edit this page through Github to add examples.