mirror of
https://ghproxy.net/https://github.com/growella/update-check.git
synced 2025-10-04 02:50:39 +08:00
25 lines
784 B
XML
25 lines
784 B
XML
|
<?xml version="1.0"?>
|
||
|
<!--
|
||
|
Customize the rules WP Enforcer uses by editing this file according to PHP_CodeSniffer's
|
||
|
ruleset.xml standard: https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-ruleset.xml
|
||
|
-->
|
||
|
<ruleset name="WP-Enforcer">
|
||
|
<description>Coding standards from WP Enforcer.</description>
|
||
|
|
||
|
<!-- FILES -->
|
||
|
<exclude-pattern>bin/*</exclude-pattern>
|
||
|
<exclude-pattern>features/*</exclude-pattern>
|
||
|
<exclude-pattern>utils/*</exclude-pattern>
|
||
|
<exclude-pattern>vendor/*</exclude-pattern>
|
||
|
|
||
|
<!--
|
||
|
Don't get angry about checking files that don't contain code
|
||
|
@link https://github.com/stevegrunwell/wp-enforcer/issues/12
|
||
|
-->
|
||
|
<rule ref="Internal.NoCodeFound">
|
||
|
<severity>0</severity>
|
||
|
</rule>
|
||
|
|
||
|
<rule ref="WordPress-Extra" />
|
||
|
<rule ref="WordPress-Docs" />
|
||
|
</ruleset>
|