Skip to content

Instantly share code, notes, and snippets.

@deizel
Created July 31, 2015 17:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deizel/89aaed449818614f4f20 to your computer and use it in GitHub Desktop.
Save deizel/89aaed449818614f4f20 to your computer and use it in GitHub Desktop.
Temporary workaround for https://youtrack.jetbrains.com/issue/WI-17740 (~/.composer/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/CakePHP)
diff --git i/ruleset.xml w/ruleset.xml
index 89c13c9..672d340 100644
--- i/ruleset.xml
+++ w/ruleset.xml
@@ -98,16 +98,16 @@
<exclude-pattern>*/tests/*</exclude-pattern>
</rule>
<rule ref="Squiz.NamingConventions.ValidFunctionName">
- <exclude-pattern>*/src/*</exclude-pattern>
- <exclude-pattern>*/tests/*</exclude-pattern>
+ <exclude-pattern>*</exclude-pattern>
+ <exclude-pattern>*</exclude-pattern>
</rule>
<rule ref="Generic.NamingConventions.CamelCapsFunctionName">
<exclude-pattern>*/src/*</exclude-pattern>
<exclude-pattern>*/tests/*</exclude-pattern>
</rule>
<rule ref="PEAR.NamingConventions.ValidFunctionName">
- <exclude-pattern>*/src/*</exclude-pattern>
- <exclude-pattern>*/tests/*</exclude-pattern>
+ <exclude-pattern>*</exclude-pattern>
+ <exclude-pattern>*</exclude-pattern>
</rule>
<!-- All rules in ./Sniffs are included automatically -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment