mirror of
https://github.com/djav1985/v-wordpress-plugin-updater.git
synced 2025-08-17 18:11:17 +08:00
18 lines
568 B
XML
18 lines
568 B
XML
<?xml version="1.0"?>
|
|
<ruleset name="Project Coding Standards">
|
|
<description>PHPCS config for WordPress in mu-plugin/ and PHP in update-api/</description>
|
|
|
|
<!-- Ignore vendor directories -->
|
|
<exclude-pattern>vendor/*</exclude-pattern>
|
|
<exclude-pattern>update-api/vendor/*</exclude-pattern>
|
|
|
|
<!-- WordPress rules for mu-plugin -->
|
|
<rule ref="WordPress-Core">
|
|
<include-pattern>mu-plugin/</include-pattern>
|
|
</rule>
|
|
|
|
<!-- Generic PHP rules for update-api -->
|
|
<rule ref="PSR12">
|
|
<include-pattern>update-api/</include-pattern>
|
|
</rule>
|
|
</ruleset>
|