-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathphpcs.xml
More file actions
54 lines (44 loc) · 1.54 KB
/
phpcs.xml
File metadata and controls
54 lines (44 loc) · 1.54 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?xml version="1.0"?>
<ruleset name="VIP Project Standards">
<file>.</file>
<!-- Exclusions -->
<exclude-pattern>*/.git/*</exclude-pattern>
<exclude-pattern>*/node_modules/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>*/tests/*</exclude-pattern>
<exclude-pattern>*/build/*</exclude-pattern>
<exclude-pattern>*/assets/*</exclude-pattern>
<!-- Performance -->
<arg name="parallel" value="12"/>
<arg name="colors"/>
<arg name="extensions" value="php"/>
<arg value="sp"/>
<arg name="basepath" value="."/>
<!-- PHP Engine Stability -->
<ini name="error_reporting" value="E_ALL & ~E_DEPRECATED"/>
<ini name="memory_limit" value="512M"/>
<!-- VIP Go -->
<rule ref="WordPress-VIP-Go"/>
<!-- PHP Compatibility -->
<rule ref="PHPCompatibilityWP">
<config name="testVersion" value="7.4-8.3"/>
</rule>
<!-- Project Specific -->
<rule ref="WordPress.WP.I18n">
<properties>
<property name="text_domain" type="array">
<element value="dokan-react-boilerplate"/>
</property>
</properties>
</rule>
<rule ref="WordPress.Security.ValidatedSanitizedInput">
<properties>
<property name="customSanitizingFunctions" type="array">
<element value="wc_clean"/>
</property>
</properties>
</rule>
<!-- CI Strict Mode -->
<arg name="warning-severity" value="1"/>
<arg name="error-severity" value="1"/>
</ruleset>