summaryrefslogtreecommitdiffstatshomepage
path: root/core/phpcs.xml.dist
diff options
context:
space:
mode:
Diffstat (limited to 'core/phpcs.xml.dist')
-rw-r--r--core/phpcs.xml.dist13
1 files changed, 6 insertions, 7 deletions
diff --git a/core/phpcs.xml.dist b/core/phpcs.xml.dist
index 623a64679581..004f43b78dbc 100644
--- a/core/phpcs.xml.dist
+++ b/core/phpcs.xml.dist
@@ -37,8 +37,6 @@
<include-pattern>core/lib/*</include-pattern>
<include-pattern>core/modules/*/tests/modules/*</include-pattern>
</rule>
- <rule ref="Drupal.CSS.ClassDefinitionNameSpacing"/>
- <rule ref="Drupal.CSS.ColourDefinition"/>
<rule ref="Drupal.Classes.ClassCreateInstance"/>
<rule ref="Drupal.Classes.ClassDeclaration"/>
<rule ref="Drupal.Classes.ClassFileName"/>
@@ -137,7 +135,6 @@
<rule ref="Drupal.Semantics.RemoteAddress"/>
<rule ref="Drupal.Semantics.TInHookMenu"/>
<rule ref="Drupal.Semantics.TInHookSchema"/>
- <rule ref="Drupal.Strings.UnnecessaryStringConcat"/>
<rule ref="Drupal.WhiteSpace.CloseBracketSpacing"/>
<rule ref="Drupal.WhiteSpace.Comma"/>
<rule ref="Drupal.WhiteSpace.EmptyLines"/>
@@ -185,7 +182,13 @@
<rule ref="Generic.PHP.DisallowShortOpenTag"/>
<rule ref="Generic.PHP.LowerCaseKeyword"/>
<rule ref="Generic.PHP.UpperCaseConstant"/>
+ <rule ref="Generic.Strings.UnnecessaryStringConcat">
+ <properties>
+ <property name="allowMultiline" value="true"/>
+ </properties>
+ </rule>
<rule ref="Generic.WhiteSpace.DisallowTabIndent"/>
+ <rule ref="Generic.WhiteSpace.LanguageConstructSpacing"/>
<!-- Internal sniffs -->
<rule ref="Internal.NoCodeFound">
@@ -193,9 +196,6 @@
<exclude-pattern>*.yml</exclude-pattern>
</rule>
- <!-- MySource sniffs -->
- <rule ref="MySource.Debug.DebugCode"/>
-
<!-- PEAR sniffs -->
<rule ref="PEAR.Files.IncludingFile"/>
<!-- Disable some error messages that we do not want. -->
@@ -394,7 +394,6 @@
<property name="spacing" value="1"/>
</properties>
</rule>
- <rule ref="Squiz.WhiteSpace.LanguageConstructSpacing"/>
<rule ref="Squiz.WhiteSpace.OperatorSpacing">
<properties>
<property name="ignoreNewlines" value="true"/>