29 lines
941 B
XML
29 lines
941 B
XML
<?xml version="1.0"?>
|
|
<ruleset name="StatifyBlacklist">
|
|
<description>Derived from WordPress Coding Standard</description>
|
|
|
|
<arg value="psvn"/>
|
|
<arg name="colors"/>
|
|
|
|
<!-- Files to sniff -->
|
|
<file>statify-blacklist.php</file>
|
|
<file>inc</file>
|
|
<file>views</file>
|
|
|
|
<!-- Compliance with WordPress Coding Standard -->
|
|
<config name="minimum_supported_wp_version" value="4.7"/>
|
|
<rule ref="WordPress">
|
|
<!-- The plugin uses switch_to_blog for multisite handling. -->
|
|
<exclude name="WordPress.VIP.RestrictedFunctions.switch_to_blog"/>
|
|
<exclude name="WordPress.VIP.RestrictedFunctions.switch_to_blog_switch_to_blog"/>
|
|
|
|
<!-- Direct queries used to clean up statify table. -->
|
|
<exclude name="WordPress.VIP.DirectDatabaseQuery.DirectQuery"/>
|
|
<exclude name="WordPress.VIP.DirectDatabaseQuery.NoCaching"/>
|
|
</rule>
|
|
|
|
<!-- PHP compatibility level -->
|
|
<config name="testVersion" value="5.5-"/>
|
|
<rule ref="PHPCompatibility"/>
|
|
</ruleset>
|