forked from auth0/wordpress
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpcs-compat-ruleset.xml
32 lines (23 loc) · 1.08 KB
/
phpcs-compat-ruleset.xml
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 name="WP-Auth0" namespace="WPAuth0\CS\Standard">
<description>A custom compatibility standard for WP-Auth0</description>
<!-- Internal tool, will be removed-->
<exclude-pattern>/account_cleanup/*</exclude-pattern>
<!-- Not currently checking JS or CSS -->
<exclude-pattern>/assets/*</exclude-pattern>
<!-- Tests have their own ruleset (different PHP version) -->
<exclude-pattern>/tests/*</exclude-pattern>
<!-- Dev tools only, currently -->
<exclude-pattern>/vendor/*</exclude-pattern>
<!-- Not currently checking JS -->
<exclude-pattern>/webtask/*</exclude-pattern>
<!-- Deprecated so no changes needed -->
<exclude-pattern>/lib/admin/WP_Auth0_Admin_Dashboard.php</exclude-pattern>
<exclude-pattern>/lib/dashboard-widgets/*</exclude-pattern>
<config name="testVersion" value="5.3-"/>
<config name="showProgress" value="1"/>
<config name="extensions" value="php"/>
<config name="minimum_supported_wp_version" value="3.8"/>
<arg name="colors"/>
<rule ref="PHPCompatibility"/>
</ruleset>