Edit File by line
/home/barbar84/www/wp-conte.../plugins/nginx-he...
File: phpcs.xml
<?xml version="1.0"?>
[0] Fix | Delete
<ruleset name="WordPress Coding Standards">
[1] Fix | Delete
[2] Fix | Delete
<!-- Set a description for this ruleset. -->
[3] Fix | Delete
<description>A custom set of code standard rules to check for Nginx helper plugin.</description>
[4] Fix | Delete
[5] Fix | Delete
<!-- Pass some flags to PHPCS:
[6] Fix | Delete
p flag: Show progress of the run.
[7] Fix | Delete
s flag: Show sniff codes in all reports.
[8] Fix | Delete
-->
[9] Fix | Delete
<arg value="psvn"/>
[10] Fix | Delete
[11] Fix | Delete
<!-- Check up to 8 files simultanously. -->
[12] Fix | Delete
<arg name="parallel" value="8"/>
[13] Fix | Delete
[14] Fix | Delete
<!-- Check PHP and JS files. -->
[15] Fix | Delete
<arg name="extensions" value="php,js"/>
[16] Fix | Delete
[17] Fix | Delete
<!-- Check all files in this directory and the directories below it. -->
[18] Fix | Delete
<file>.</file>
[19] Fix | Delete
[20] Fix | Delete
<!-- Exclude folders. -->
[21] Fix | Delete
<exclude-pattern>*/languages/*</exclude-pattern>
[22] Fix | Delete
<exclude-pattern>*/admin/predis.php</exclude-pattern> <!-- Predis library file -->
[23] Fix | Delete
<exclude-pattern>*/vendor/*</exclude-pattern> <!-- Composer vendor directory -->
[24] Fix | Delete
[25] Fix | Delete
<!-- Include the WordPress standard. -->
[26] Fix | Delete
<rule ref="WordPress">
[27] Fix | Delete
<exclude name="PEAR.NamingConventions.ValidClassName.Invalid" />
[28] Fix | Delete
<exclude name="PSR2.Methods.MethodDeclaration.Underscore" />
[29] Fix | Delete
</rule>
[30] Fix | Delete
<rule ref="WordPress-VIP-Go">
[31] Fix | Delete
<exclude name="WordPress.VIP.FileSystemWritesDisallow.directory_mkdir" />
[32] Fix | Delete
<exclude name="WordPress.WP.AlternativeFunctions.file_system_read_fopen" />
[33] Fix | Delete
<exclude name="WordPress.VIP.FileSystemWritesDisallow.file_ops_is_writable" />
[34] Fix | Delete
<exclude name="WordPress.WP.AlternativeFunctions.file_system_read_fclose" />
[35] Fix | Delete
<exclude name="WordPress.VIP.FileSystemWritesDisallow.file_ops_fwrite" />
[36] Fix | Delete
<exclude name="WordPress.VIP.FileSystemWritesDisallow.directory_rmdir" />
[37] Fix | Delete
<exclude name="WordPress.WP.AlternativeFunctions.file_system_read_fwrite" />
[38] Fix | Delete
<exclude name="WordPress.VIP.FileSystemWritesDisallow.file_ops_unlink" />
[39] Fix | Delete
<exclude name="WordPressVIPMinimum.Functions.RestrictedFunctions.directory_mkdir" />
[40] Fix | Delete
<exclude name="WordPressVIPMinimum.Functions.RestrictedFunctions.directory_rmdir" />
[41] Fix | Delete
</rule>
[42] Fix | Delete
[43] Fix | Delete
<!-- Verify that the text_domain is set to the desired text-domain.
[44] Fix | Delete
Multiple valid text domains can be provided as a comma-delimited list. -->
[45] Fix | Delete
<rule ref="WordPress.WP.I18n">
[46] Fix | Delete
<properties>
[47] Fix | Delete
<property name="text_domain" type="array" value="nginx-helper" />
[48] Fix | Delete
</properties>
[49] Fix | Delete
</rule>
[50] Fix | Delete
[51] Fix | Delete
<!-- Verify that no WP functions are used which are deprecated or have been removed.
[52] Fix | Delete
The minimum version set here should be in line with the minimum WP version
[53] Fix | Delete
as set in the "Requires at least" tag in the readme.txt file. -->
[54] Fix | Delete
<rule ref="WordPress.WP.DeprecatedFunctions">
[55] Fix | Delete
<properties>
[56] Fix | Delete
<property name="minimum_supported_version" value="3.0" />
[57] Fix | Delete
</properties>
[58] Fix | Delete
</rule>
[59] Fix | Delete
[60] Fix | Delete
<!-- Include sniffs for PHP cross-version compatibility. -->
[61] Fix | Delete
<rule ref="PHPCompatibility"/>
[62] Fix | Delete
<config name="testVersion" value="5.3-99.0"/>
[63] Fix | Delete
[64] Fix | Delete
</ruleset>
[65] Fix | Delete
[66] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function