- Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathphpcs.xml
More file actions
Latest commit
31 lines (26 loc) · 875 Bytes
/
Copy pathphpcs.xml
File metadata and controls
31 lines (26 loc) · 875 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
30
31
<?xml version="1.0"?>
<rulesetname="StatifyBlacklist">
<description>Derived from WordPress Coding Standard</description>
<argvalue="psv"/>
<argname="colors"/>
<!-- Files to sniff -->
<file>statify-blacklist.php</file>
<file>inc</file>
<!-- Compliance with WordPress Coding Standard -->
<configname="minimum_supported_wp_version"value="5.1"/>
<ruleref="WordPress">
<!-- Direct queries used to clean up statify table. -->
<excludename="WordPress.DB.DirectDatabaseQuery.DirectQuery"/>
<excludename="WordPress.DB.DirectDatabaseQuery.NoCaching"/>
</rule>
<ruleref="WordPress.WP.I18n">
<properties>
<propertyname="text_domain"type="array">
<elementvalue="statify-blacklist"/>
</property>
</properties>
</rule>
<!-- PHP compatibility level -->
<configname="testVersion"value="7.4-"/>
<ruleref="PHPCompatibilityWP"/>
</ruleset>