forked from duracelltomi/gtm4wp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml
25 lines (21 loc) · 942 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
<?xml version="1.0"?>
<ruleset name="WordPress Coding Standards for Plugins">
<description>Generally-applicable sniffs for WordPress plugins and theme development</description>
<!-- Default Rules -->
<rule ref="WordPress" />
<rule ref="WordPress-Core" />
<rule ref="WordPress-Extra" />
<rule ref="PHPCompatibility" />
<!-- Exclude Common Paths. -->
<exclude-pattern>*/wptest/*</exclude-pattern>
<exclude-pattern>*/node_modules/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>*/integration/whichbrowser/*</exclude-pattern>
<exclude-pattern>*/PHPCompatibility/Tests/Keywords/ForbiddenNames/*\.php</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>*/spec/*</exclude-pattern>
<exclude-pattern>*/wpcs/*</exclude-pattern>
<!-- Check up to 8 files simultanously. -->
<arg name="parallel" value="8"/>
<config name="testVersion" value="7.0-"/>
</ruleset>