-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml
More file actions
26 lines (21 loc) · 784 Bytes
/
phpcs.xml
File metadata and controls
26 lines (21 loc) · 784 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
<?xml version="1.0"?>
<ruleset name="Choice UFT">
<description>PHP_CodeSniffer rules for Choice Universal Form Tracker</description>
<!-- Files to check -->
<file>.</file>
<!-- Exclusions -->
<exclude-pattern>vendor/*</exclude-pattern>
<exclude-pattern>node_modules/*</exclude-pattern>
<exclude-pattern>tests/*</exclude-pattern>
<exclude-pattern>assets/*</exclude-pattern>
<!-- Standards -->
<rule ref="WordPress-Core"/>
<rule ref="PHPCompatibility"/>
<!-- PHP version compatibility target -->
<config name="testVersion" value="7.4-"/>
<!-- Output settings -->
<arg name="basepath" value="."/>
<arg name="extensions" value="php"/>
<arg name="colors"/>
<arg value="sp"/>
</ruleset>