Skip to content
Permalink
Browse files

Ignore filesytem operations in phpcs

  • Loading branch information...
vaishaliagola27 committed Oct 12, 2018
1 parent cfccc36 commit d3c134c7ea62fbf983eced9b3248d732157dbd15
Showing with 10 additions and 1 deletion.
  1. +10 −1 phpcs.xml
@@ -24,7 +24,16 @@
<exclude-pattern>*/admin/predis.php</exclude-pattern> <!-- Predis library file -->

<!-- Include the WordPress standard. -->
<rule ref="WordPress-VIP-Go"/>
<rule ref="WordPress-VIP-Go">
<exclude name="WordPress.VIP.FileSystemWritesDisallow.directory_mkdir" />
<exclude name="WordPress.WP.AlternativeFunctions.file_system_read_fopen" />
<exclude name="WordPress.VIP.FileSystemWritesDisallow.file_ops_is_writable" />
<exclude name="WordPress.WP.AlternativeFunctions.file_system_read_fclose" />
<exclude name="WordPress.VIP.FileSystemWritesDisallow.file_ops_fwrite" />
<exclude name="WordPress.VIP.FileSystemWritesDisallow.directory_rmdir" />
<exclude name="WordPress.WP.AlternativeFunctions.file_system_read_fwrite" />
<exclude name="WordPress.VIP.FileSystemWritesDisallow.file_ops_unlink" />
</rule>
<rule ref="WordPress-Docs"/>

<!-- Verify that the text_domain is set to the desired text-domain.

0 comments on commit d3c134c

Please sign in to comment.
You can’t perform that action at this time.