-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathphpcs.xml
More file actions
27 lines (24 loc) · 927 Bytes
/
phpcs.xml
File metadata and controls
27 lines (24 loc) · 927 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?xml version="1.0"?>
<!--
Customize the rules WP Enforcer uses by editing this file according to PHP_CodeSniffer's
ruleset.xml standard: https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-ruleset.xml
-->
<ruleset>
<!-- FILES -->
<exclude-pattern>phpcs.xml</exclude-pattern>
<exclude-pattern>*/tests/test-*.php</exclude-pattern>
<exclude-pattern>*/tests/bootstrap.php</exclude-pattern>
<exclude-pattern type="relative">^*/js/*</exclude-pattern>
<exclude-pattern type="relative">^*/css/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
<file>./</file>
<!--
Don't get angry about checking files that don't contain code
@link https://github.com/stevegrunwell/wp-enforcer/issues/12
-->
<rule ref="Internal.NoCodeFound">
<severity>0</severity>
</rule>
<rule ref="WordPress-Extra"/>
<rule ref="WordPress-Docs"/>
</ruleset>