Created
December 16, 2014 19:41
-
-
Save deviantintegral/13ec9749a2204e4c92d6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/coder_sniffer/Drupal/ruleset.xml b/coder_sniffer/Drupal/ruleset.xml | |
index b718894..116fe60 100644 | |
--- a/coder_sniffer/Drupal/ruleset.xml | |
+++ b/coder_sniffer/Drupal/ruleset.xml | |
@@ -3,6 +3,10 @@ | |
<ruleset name="Drupal"> | |
<description>Drupal coding standard</description> | |
+ <rule ref="Drupal.Commenting.InlineComment.DocBlock"> | |
+ <severity>0</severity> | |
+ </rule> | |
+ | |
<rule ref="Internal.NoCodeFound"> | |
<!-- Usually there is no code in txt or info files, so we suppress warnings about | |
PHP short tags and what not. --> | |
@@ -11,6 +15,10 @@ | |
<exclude-pattern>*.info</exclude-pattern> | |
</rule> | |
+ <rule ref="Drupal.NamingConventions.ValidVariableName"> | |
+ <severity>0</severity> | |
+ </rule> | |
+ | |
<rule ref="Drupal.Commenting.FileComment"> | |
<!-- Do not run this sniff on txt files. --> | |
<exclude-pattern>*.txt</exclude-pattern> | |
@@ -137,7 +145,7 @@ | |
<rule ref="Squiz.Arrays.ArrayBracketSpacing" /> | |
- <rule ref="Squiz.Classes.LowercaseClassKeywords" /> | |
+ <rule ref="Squiz.Classes.LowercaseClassKeywords"/> | |
<rule ref="Squiz.Commenting.PostStatementComment" /> | |
<rule ref="Squiz.ControlStructures.ForEachLoopDeclaration" /> | |
<!-- Disable some error messages that we already cover. --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment