-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml.dist
More file actions
29 lines (24 loc) · 892 Bytes
/
phpcs.xml.dist
File metadata and controls
29 lines (24 loc) · 892 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
28
29
<?xml version="1.0"?>
<ruleset>
<arg name="basepath" value="."/>
<arg name="extensions" value="php"/>
<arg name="severity" value="4"/>
<arg name="tab-width" value="4"/>
<arg name="parallel" value="80"/>
<arg name="colors"/>
<!-- Update to the PHP version your production/local docker container runs on -->
<config name="testVersion" value="7.3"/>
<!-- php -r 'echo PHP_VERSION_ID;' -->
<config name="php_version" value="70327"/>
<!-- Ignore warnings, show progress of the run and show sniff names -->
<arg value="nps"/>
<!-- Directories to be checked -->
<file>./src</file>
<file>./config.php</file>
<file>./core.php</file>
<file>./index.php</file>
<!-- Exclude files -->
<exclude-pattern>./tests</exclude-pattern>
<!-- Include the Modern Tribe coding standard -->
<rule ref="ModernTribe"/>
</ruleset>