[phpcs] Add check for concatenation operator spacing

The concatenation operator should have one space before and after
This commit is contained in:
logmanoriginal 2018-11-05 12:46:38 +01:00
parent b9f6bc8197
commit e295dc5a79

View file

@ -13,6 +13,13 @@
<rule ref="Generic.CodeAnalysis.UnnecessaryFinalModifier"/>
<!-- Do not override methods to call their parent -->
<rule ref="Generic.CodeAnalysis.UselessOverridingMethod"/>
<!-- Make sure the concatenation operator has spaces around it -->
<rule ref="Squiz.Strings.ConcatenationSpacing">
<properties>
<property name="spacing" value="1"/>
<property name="ignoreNewlines" value="true"/>
</properties>
</rule>
<!-- One line should not have more than 80 characters -->
<!-- One line must never exceed 120 characters -->
<rule ref="Generic.Files.LineLength">