Remove three PHPCS VIP rules that don't apply to WooCommerce
This commit removes the following PHPCS VIP rules: - WordPress.VIP.DirectDatabaseQuery.NoCaching - WordPress.VIP.DirectDatabaseQuery.SchemaChange - WordPress.VIP.FileSystemWritesDisallow.file_ops_fwrite
This commit is contained in:
parent
2795a3399b
commit
f5d2a1d98b
|
@ -22,8 +22,11 @@
|
|||
<rule ref="PHPCompatibility"/>
|
||||
|
||||
<rule ref="WordPress">
|
||||
<exclude name="WordPress.VIP.RestrictedFunctions" />
|
||||
<exclude name="WordPress.VIP.DirectDatabaseQuery.NoCaching" />
|
||||
<exclude name="WordPress.VIP.DirectDatabaseQuery.SchemaChange" />
|
||||
<exclude name="WordPress.VIP.FileSystemWritesDisallow.file_ops_fwrite" />
|
||||
<exclude name="WordPress.VIP.OrderByRand" />
|
||||
<exclude name="WordPress.VIP.RestrictedFunctions" />
|
||||
</rule>
|
||||
<rule ref="WordPress.VIP.ValidatedSanitizedInput">
|
||||
<properties>
|
||||
|
|
Loading…
Reference in New Issue