-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml.dist
32 lines (24 loc) · 985 Bytes
/
phpcs.xml.dist
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
30
31
32
<?xml version="1.0"?>
<ruleset>
<file>.</file>
<exclude-pattern>build/*</exclude-pattern>
<exclude-pattern>node_modules/*</exclude-pattern>
<exclude-pattern>src/*</exclude-pattern>
<exclude-pattern>vendor/*</exclude-pattern>
<exclude-pattern>.wordpress/*</exclude-pattern>
<exclude-pattern>.history/*</exclude-pattern>
<exclude-pattern>plugins/*</exclude-pattern>
<!-- Show progress and sniff codes in all reports. -->
<arg value="ps"/>
<!-- A path to strip from the front of file paths inside reports. -->
<arg name="basepath" value="."/>
<arg name="colors"/>
<arg name="extensions" value="php"/>
<!-- Prevent deprecation warnings in WPCS breaking checks. -->
<config name="ignore_warnings_on_exit" value="1"/>
<!-- Check for PHP cross-version compatibility. -->
<config name="testVersion" value="7.1-"/>
<rule ref="PHPCompatibility"/>
<!-- Check against recommended ruleset for usage on the VIP Go platform. -->
<rule ref="WordPress-VIP-Go"/>
</ruleset>