forked from auth0/wordpress
-
Notifications
You must be signed in to change notification settings - Fork 1
/
phpcs-compat-ruleset.xml
31 lines (22 loc) · 1.03 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
<?xml version="1.0"?>
<ruleset name="WP-Auth0" namespace="WPAuth0\CS\Standard">
<description>A custom compatibility standard for WP-Auth0</description>
<!-- Tests have their own ruleset (different PHP version) -->
<exclude-pattern>/tests/*</exclude-pattern>
<!-- Dev tools only, currently -->
<exclude-pattern>/vendor/*</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>
<!-- Only check PHP files. -->
<arg name="extensions" value="php"/>
<!-- Show progress, show the error codes for each message (source). -->
<arg value="sp"/>
<!-- Strip the filepaths down to the relevant bit. -->
<arg name="basepath" value="."/>
<!-- Show coloured output, if available. -->
<arg name="colors"/>
<config name="testVersion" value="5.3-"/>
<config name="minimum_supported_wp_version" value="3.8"/>
<rule ref="PHPCompatibility"/>
</ruleset>