-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml.dist
More file actions
35 lines (28 loc) · 1.05 KB
/
phpcs.xml.dist
File metadata and controls
35 lines (28 loc) · 1.05 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
<?xml version="1.0"?>
<ruleset name="WordPress Coding Standards for PMPro Level Explorer">
<description>Sniffs for PMPro Level Explorer plugin.</description>
<!-- Show progress and sniff codes -->
<arg value="ps"/>
<arg name="colors"/>
<arg name="extensions" value="php"/>
<arg name="parallel" value="8"/>
<!-- Check all files in this directory -->
<file>.</file>
<!-- Exclude directories -->
<exclude-pattern>/vendor/*</exclude-pattern>
<exclude-pattern>/node_modules/*</exclude-pattern>
<exclude-pattern>/tests/*</exclude-pattern>
<!-- Use WordPress-Extra ruleset as the base -->
<rule ref="WordPress-Extra"/>
<!-- Set minimum PHP version to 8.0 -->
<config name="testVersion" value="8.0-"/>
<rule ref="PHPCompatibilityWP"/>
<!-- Rules for text domain -->
<rule ref="WordPress.WP.I18n">
<properties>
<property name="text_domain" type="array">
<element value="pmpro-level-explorer"/>
</property>
</properties>
</rule>
</ruleset>