Add rule for operator spacing
[MAILPOET-2090]
This commit is contained in:
@@ -28,6 +28,11 @@
|
|||||||
|
|
||||||
<!-- Only short array syntax is allowed -->
|
<!-- Only short array syntax is allowed -->
|
||||||
<rule ref="Generic.Arrays.DisallowLongArraySyntax"/>
|
<rule ref="Generic.Arrays.DisallowLongArraySyntax"/>
|
||||||
|
<rule ref="Squiz.WhiteSpace.OperatorSpacing">
|
||||||
|
<properties>
|
||||||
|
<property name="ignoreNewlines" value="true" />
|
||||||
|
</properties>
|
||||||
|
</rule>
|
||||||
<!-- Disallow usage of BOMs -->
|
<!-- Disallow usage of BOMs -->
|
||||||
<rule ref="Generic.Files.ByteOrderMark"/>
|
<rule ref="Generic.Files.ByteOrderMark"/>
|
||||||
<!-- Lines can be 80 chars long, show errors at 120 chars -->
|
<!-- Lines can be 80 chars long, show errors at 120 chars -->
|
||||||
|
Reference in New Issue
Block a user