forked from liquidweb/woosimple
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml
29 lines (24 loc) · 954 Bytes
/
phpcs.xml
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
28
29
<?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 name="WP-Enforcer">
<description>Coding standards from WP Enforcer.</description>
<!-- Check all PHP files in directory tree by default. -->
<arg name="extensions" value="php"/>
<file>.</file>
<!-- Show progress and sniff codes in all reports -->
<arg value="ps"/>
<!-- Exclusions -->
<exclude-pattern>./dist</exclude-pattern>
<exclude-pattern>./node_modules/*</exclude-pattern>
<exclude-pattern>./tests/*</exclude-pattern>
<exclude-pattern>./vendor/*</exclude-pattern>
<exclude-pattern>./assets/*</exclude-pattern>
<!-- The plugin is designed for PHP 5.4+ -->
<rule ref="PHPCompatibility"/>
<config name="testVersion" value="5.4-" />
<rule ref="WordPress-Extra" />
<rule ref="WordPress-Docs" />
</ruleset>