Merge pull request #17893 from woocommerce/update/phpcs-disable-more-vip-rules

Exclude two more PHPCS VIP rules
This commit is contained in:
Claudio Sanches 2017-11-23 12:08:29 -02:00 committed by GitHub
commit 82e803ba76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -27,6 +27,8 @@
<exclude name="WordPress.VIP.FileSystemWritesDisallow.file_ops_fwrite" />
<exclude name="WordPress.VIP.OrderByRand" />
<exclude name="WordPress.VIP.RestrictedFunctions" />
<exclude name="WordPress.VIP.RestrictedVariables.user_meta__wpdb__usermeta" />
<exclude name="WordPress.VIP.PostsPerPage.posts_per_page_posts_per_page" />
</rule>
<rule ref="WordPress.VIP.ValidatedSanitizedInput">
<properties>