diff options
author | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2020-01-20 04:42:44 +0300 |
---|---|---|
committer | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2020-01-20 04:42:44 +0300 |
commit | 555d07bc305adc9d14d6c3ee4f5bf10b79078840 (patch) | |
tree | bc88ad934bd06e0af94acbeb67578608658bc4fc /phpcs.xml.dist | |
parent | 285907991e61f47fe605b5b239526a05473e242e (diff) |
Add coding standard rule for unnecessary string concat
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to 'phpcs.xml.dist')
-rw-r--r-- | phpcs.xml.dist | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/phpcs.xml.dist b/phpcs.xml.dist index 6737fb7fcb..5bffe220e4 100644 --- a/phpcs.xml.dist +++ b/phpcs.xml.dist @@ -25,6 +25,12 @@ <severity>0</severity> </rule> + <rule ref="Generic.Strings.UnnecessaryStringConcat"> + <properties> + <property name="allowMultiline" value="true"/> + </properties> + </rule> + <rule ref="Squiz.Arrays.ArrayDeclaration"> <exclude name="Squiz.Arrays.ArrayDeclaration.DoubleArrowNotAligned"/> <exclude name="Squiz.Arrays.ArrayDeclaration.KeyNotAligned"/> |