statify-blacklist/ruleset.xml
Stefan Kalscheuer 1781335f25 Composer and PHPCS added
A composer package descriptor has been added, along with a PHPunit descriptor and code sniffer ruleset.
2017-07-15 17:05:38 +02:00

16 lines
658 B
XML

<?xml version="1.0"?>
<ruleset name="StatifyBlacklist">
<description>Derived from WordPress</description>
<rule ref="WordPress">
<!-- Type hint checks mess up PHP 7 checks, while this plugin has compatibility level 5.5 and above. -->
<exclude name="Squiz.Commenting.FunctionComment.ScalarTypeHintMissing"/>
<!-- The plugin uses switch_to_blog for multisite handling. -->
<exclude name="WordPress.VIP.RestrictedFunctions.switch_to_blog"/>
<!-- Direct queries used to clean up statify table. -->
<exclude name="WordPress.VIP.DirectDatabaseQuery.DirectQuery"/>
<exclude name="WordPress.VIP.DirectDatabaseQuery.NoCaching"/>
</rule>
</ruleset>