We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 46ad097 + d9d57af commit 069e58bCopy full SHA for 069e58b
.travis.yml
@@ -54,5 +54,5 @@ script:
54
fi
55
- |
56
if [[ "$WP_TRAVISCI" == "phpcs" ]] ; then
57
- phpcs --standard=phpcs.ruleset.xml $(find . -name '*.php')
+ phpcs
58
phpcs.ruleset.xml phpcs.xml.distphpcs.ruleset.xml renamed to phpcs.xml.dist
@@ -5,6 +5,13 @@
5
<rule ref="WordPress-Core" />
6
<!-- <rule ref="WordPress-Docs" /> -->
7
8
- <exclude-pattern>*/node_modules/*</exclude-pattern>
+ <!-- Check all PHP files in directory tree by default. -->
9
+ <arg name="extensions" value="php"/>
10
+ <file>.</file>
11
+
12
+ <!-- Show sniff codes in all reports -->
13
+ <arg value="s"/>
14
15
<exclude-pattern>*/vendor/*</exclude-pattern>
16
+ <exclude-pattern>*/node_modules/*</exclude-pattern>
17
</ruleset>
0 commit comments