Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@
<rule ref="WordPress" />
<rule ref="WordPress-VIP-Go" />

<!--
The WP-CLI command class correctly extends WP_CLI_Command. The VIP-Go
ruleset's suggestion to extend WPCOM_VIP_CLI_Command instead only applies
to code running on VIP-managed hosting, which this plugin is not.
-->
<rule ref="WordPressVIPMinimum.Classes.RestrictedExtendClasses">
<exclude-pattern>CLI/*.php</exclude-pattern>
</rule>

<!-- disable nonce checks on tests -->
<rule ref="WordPress.Security.NonceVerification">
<exclude-pattern>tests/*.php</exclude-pattern>
Expand Down