From d5d28af3b939ad6d822ac9b5bf134418c6c8e650 Mon Sep 17 00:00:00 2001 From: Mathieu Ducharme Date: Mon, 15 Oct 2018 00:21:08 -0400 Subject: [PATCH] Update phpcs ruleset --- phpcs.xml.dist | 87 +++++++++++++++++++++++++++++--------------------- 1 file changed, 51 insertions(+), 36 deletions(-) diff --git a/phpcs.xml.dist b/phpcs.xml.dist index 77af3f87..327f3da4 100644 --- a/phpcs.xml.dist +++ b/phpcs.xml.dist @@ -1,4 +1,4 @@ - + Charcoal Coding Standard @@ -10,7 +10,7 @@ - + @@ -19,7 +19,7 @@ - + @@ -36,7 +36,7 @@ - + @@ -57,7 +57,7 @@ - + @@ -67,6 +67,8 @@ + + @@ -92,10 +94,14 @@ + + warning + Comments should not appear after statements + - + @@ -108,17 +114,12 @@ - - - - - 0 - + - + @@ -145,7 +146,7 @@ - + @@ -160,7 +161,7 @@ - + @@ -174,7 +175,7 @@ - + @@ -189,11 +190,11 @@ - 0> + 0 - + - + @@ -214,13 +215,14 @@ - + - - + + + - + @@ -229,7 +231,7 @@ - + @@ -260,8 +262,8 @@ - - + + @@ -270,8 +272,6 @@ 0 - - @@ -279,7 +279,7 @@ - + @@ -289,23 +289,39 @@ - + - + + + + + + + warning + Only concatenate strings if they would be too long on a single line. + - + + + + + + + warning + Concat operator should not be surrounded by spaces + - + - + @@ -316,7 +332,7 @@ - + @@ -328,5 +344,4 @@ 0 -