statify-blacklist/phpcs.xml
Stefan Kalscheuer 2e7883bc62 Packaging process bundled as Gulp task
Bundling a ready to use plugin ZIP has been automated into a Gulp task. After executing unit tests and code sniffer, only the relevant files are bundled.
2017-07-16 12:10:23 +02:00

17 lines
675 B
XML

<?xml version="1.0"?>
<ruleset name="StatifyBlacklist">
<description>Derived from WordPress Coding Standard</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>