Skip to content

Commit 31cdd0d

Browse files
committed
Updated coding standard ruleset
1 parent 0071843 commit 31cdd0d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ matrix:
2929
- php: '7.0'
3030
# aliased to a recent 7.1.x version
3131
- php: '7.1'
32-
env: PHPCS_BRANCH=master SNIFF=1
32+
env: PHPCS_BRANCH=2.9 SNIFF=1
3333

3434
# Use this to prepare the system to install prerequisites or dependencies.
3535
# e.g. sudo apt-get update.

codesniffer.ruleset.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
<description>A custom set of code standard rules to check for WordPress themes.</description>
88

99
<exclude-pattern>acf-json/index.php</exclude-pattern>
10-
<exclude-pattern>*\config\*</exclude-pattern>
11-
<exclude-pattern>*/config/*</exclude-pattern>
10+
<exclude-pattern>*\inc\*</exclude-pattern>
11+
<exclude-pattern>*/inc/*</exclude-pattern>
1212

1313
<!-- Include the WordPress ruleset, with exclusions. -->
1414
<rule ref="WordPress">

0 commit comments

Comments
 (0)