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/clone/wp-conte.../plugins/wordpres.../vendor/yoast/whip/src/Exceptio...
File: InvalidVersionComparisonString.php
<?php
[0] Fix | Delete
[1] Fix | Delete
namespace Yoast\WHIPv2\Exceptions;
[2] Fix | Delete
[3] Fix | Delete
use Exception;
[4] Fix | Delete
[5] Fix | Delete
/**
[6] Fix | Delete
* Exception for an invalid version comparison string.
[7] Fix | Delete
*
[8] Fix | Delete
* @phpcs:disable Yoast.NamingConventions.ObjectNameDepth.MaxExceeded -- Name should be descriptive and was historically (before namespacing) already set to this.
[9] Fix | Delete
*/
[10] Fix | Delete
class InvalidVersionComparisonString extends Exception {
[11] Fix | Delete
[12] Fix | Delete
/**
[13] Fix | Delete
* InvalidVersionComparisonString constructor.
[14] Fix | Delete
*
[15] Fix | Delete
* @param string $value The passed version comparison string.
[16] Fix | Delete
*/
[17] Fix | Delete
public function __construct( $value ) {
[18] Fix | Delete
parent::__construct(
[19] Fix | Delete
\sprintf(
[20] Fix | Delete
'Invalid version comparison string. Example of a valid version comparison string: >=5.3. Passed version comparison string: %s',
[21] Fix | Delete
$value
[22] Fix | Delete
)
[23] Fix | Delete
);
[24] Fix | Delete
}
[25] Fix | Delete
}
[26] Fix | Delete
[27] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function