Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaurício Meneghini Fauth <mauricio@fauth.dev>2020-01-20 04:42:44 +0300
committerMaurício Meneghini Fauth <mauricio@fauth.dev>2020-01-20 04:42:44 +0300
commit555d07bc305adc9d14d6c3ee4f5bf10b79078840 (patch)
treebc88ad934bd06e0af94acbeb67578608658bc4fc /phpcs.xml.dist
parent285907991e61f47fe605b5b239526a05473e242e (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.dist6
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"/>