Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/wp-conte.../plugins/interact.../vendor/freemius/wordpres...
File: phpcs.xml
<?xml version="1.0"?>
[0] Fix | Delete
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Freemius WordPress SDK"
[1] Fix | Delete
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/squizlabs/PHP_CodeSniffer/master/phpcs.xsd">
[2] Fix | Delete
[3] Fix | Delete
<description>A custom set of rules to check for a WPized WordPress project</description>
[4] Fix | Delete
[5] Fix | Delete
<!--
[6] Fix | Delete
#############################################################################
[7] Fix | Delete
COMMAND LINE ARGUMENTS
[8] Fix | Delete
https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-Ruleset
[9] Fix | Delete
#############################################################################
[10] Fix | Delete
-->
[11] Fix | Delete
[12] Fix | Delete
<file>.</file>
[13] Fix | Delete
[14] Fix | Delete
<!-- Exclude the Composer Vendor directory. -->
[15] Fix | Delete
<exclude-pattern>/vendor/*</exclude-pattern>
[16] Fix | Delete
[17] Fix | Delete
<!-- Exclude the Node Modules directory. -->
[18] Fix | Delete
<exclude-pattern>/node_modules/*</exclude-pattern>
[19] Fix | Delete
[20] Fix | Delete
<!-- Exclude front-end asset files. -->
[21] Fix | Delete
<exclude-pattern>/assets/*</exclude-pattern>
[22] Fix | Delete
[23] Fix | Delete
<!-- Exclude language files. -->
[24] Fix | Delete
<exclude-pattern>/languages/*</exclude-pattern>
[25] Fix | Delete
<exclude-pattern>/includes/class-freemius.php</exclude-pattern>
[26] Fix | Delete
[27] Fix | Delete
<!-- Strip the filepaths down to the relevant bit. -->
[28] Fix | Delete
<arg name="basepath" value="."/>
[29] Fix | Delete
[30] Fix | Delete
<!-- Check up to 8 files simultaneously. -->
[31] Fix | Delete
<arg name="parallel" value="8"/>
[32] Fix | Delete
[33] Fix | Delete
<arg name="extensions" value="php"/>
[34] Fix | Delete
[35] Fix | Delete
<arg name="tab-width" value="4"/>
[36] Fix | Delete
[37] Fix | Delete
<!--
[38] Fix | Delete
#############################################################################
[39] Fix | Delete
SET UP THE RULESETS
[40] Fix | Delete
#############################################################################
[41] Fix | Delete
-->
[42] Fix | Delete
[43] Fix | Delete
<!-- Include only the security related sniffs for now -->
[44] Fix | Delete
<rule ref="WordPress.Security.EscapeOutput">
[45] Fix | Delete
<properties>
[46] Fix | Delete
<property name="customEscapingFunctions" type="array">
[47] Fix | Delete
<element value="fs_html_get_attributes"/>
[48] Fix | Delete
<element value="fs_html_get_classname"/>
[49] Fix | Delete
<element value="fs_html_get_sanitized_html"/>
[50] Fix | Delete
<element value="fs_esc_attr"/>
[51] Fix | Delete
<element value="fs_esc_attr_inline"/>
[52] Fix | Delete
<element value="fs_esc_attr_x_inline"/>
[53] Fix | Delete
<element value="htmlspecialchars"/>
[54] Fix | Delete
<element value="fs_esc_html_inline"/>
[55] Fix | Delete
</property>
[56] Fix | Delete
<property name="customAutoEscapedFunctions" type="array">
[57] Fix | Delete
<element value="fs_nonce_url" />
[58] Fix | Delete
<element value="WP_FS__ADDRESS" />
[59] Fix | Delete
</property>
[60] Fix | Delete
</properties>
[61] Fix | Delete
</rule>
[62] Fix | Delete
[63] Fix | Delete
<!-- Encourage use of wp_safe_redirect() to avoid open redirect vulnerabilities.
[64] Fix | Delete
https://github.com/WordPress/WordPress-Coding-Standards/pull/1264 -->
[65] Fix | Delete
<rule ref="WordPress.Security.SafeRedirect"/>
[66] Fix | Delete
[67] Fix | Delete
<!-- Verify that a nonce check is done before using values in superglobals.
[68] Fix | Delete
https://github.com/WordPress/WordPress-Coding-Standards/issues/73 -->
[69] Fix | Delete
<rule ref="WordPress.Security.NonceVerification">
[70] Fix | Delete
<properties>
[71] Fix | Delete
<property name="customNonceVerificationFunctions" type="array">
[72] Fix | Delete
<element value="check_ajax_referer"/>
[73] Fix | Delete
</property>
[74] Fix | Delete
</properties>
[75] Fix | Delete
</rule>
[76] Fix | Delete
[77] Fix | Delete
<!-- Let's also check that everything is properly documented. -->
[78] Fix | Delete
<!-- <rule ref="WordPress-Docs"/>-->
[79] Fix | Delete
[80] Fix | Delete
<!-- Add in some extra rules from other standards. -->
[81] Fix | Delete
<!-- <rule ref="Generic.CodeAnalysis.UnusedFunctionParameter"/>-->
[82] Fix | Delete
<!-- <rule ref="Generic.Commenting.Todo"/>-->
[83] Fix | Delete
[84] Fix | Delete
<!-- Check for PHP cross-version compatibility. -->
[85] Fix | Delete
<!--
[86] Fix | Delete
To enable this, the PHPCompatibilityWP standard needs
[87] Fix | Delete
to be installed.
[88] Fix | Delete
See the readme for installation instructions:
[89] Fix | Delete
https://github.com/PHPCompatibility/PHPCompatibilityWP
[90] Fix | Delete
For more information, also see:
[91] Fix | Delete
https://github.com/PHPCompatibility/PHPCompatibility
[92] Fix | Delete
-->
[93] Fix | Delete
<!-- <rule ref="PHPCompatibilityWP"/> -->
[94] Fix | Delete
[95] Fix | Delete
<config name="testVersion" value="5.6-"/>
[96] Fix | Delete
<rule ref="PHPCompatibility"/>
[97] Fix | Delete
[98] Fix | Delete
<!--
[99] Fix | Delete
#############################################################################
[100] Fix | Delete
SNIFF SPECIFIC CONFIGURATION
[101] Fix | Delete
#############################################################################
[102] Fix | Delete
-->
[103] Fix | Delete
[104] Fix | Delete
<!--
[105] Fix | Delete
To get the optimal benefits of using WPCS, we should add a couple of
[106] Fix | Delete
custom properties.
[107] Fix | Delete
Adjust the values of these properties to fit our needs.
[108] Fix | Delete
[109] Fix | Delete
For information on additional custom properties available, check out
[110] Fix | Delete
the wiki:
[111] Fix | Delete
https://github.com/WordPress/WordPress-Coding-Standards/wiki/Customizable-sniff-properties
[112] Fix | Delete
-->
[113] Fix | Delete
<config name="minimum_supported_wp_version" value="5.0"/>
[114] Fix | Delete
[115] Fix | Delete
<rule ref="WordPress.NamingConventions.PrefixAllGlobals">
[116] Fix | Delete
<properties>
[117] Fix | Delete
<property name="prefixes" type="array">
[118] Fix | Delete
<element value="fs"/>
[119] Fix | Delete
</property>
[120] Fix | Delete
</properties>
[121] Fix | Delete
</rule>
[122] Fix | Delete
[123] Fix | Delete
</ruleset>
[124] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function