Created
July 31, 2015 17:28
-
-
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)
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 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