Skip to content

Instantly share code, notes, and snippets.

@deviantintegral
Created December 16, 2014 19:41
Show Gist options
  • Save deviantintegral/13ec9749a2204e4c92d6 to your computer and use it in GitHub Desktop.
Save deviantintegral/13ec9749a2204e4c92d6 to your computer and use it in GitHub Desktop.
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