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/wordpres.../src/introduc.../domain
File: invalid-user-id-exception.php
<?php
[0] Fix | Delete
[1] Fix | Delete
namespace Yoast\WP\SEO\Introductions\Domain;
[2] Fix | Delete
[3] Fix | Delete
use InvalidArgumentException;
[4] Fix | Delete
use Throwable;
[5] Fix | Delete
[6] Fix | Delete
/**
[7] Fix | Delete
* Invalid user ID.
[8] Fix | Delete
*/
[9] Fix | Delete
class Invalid_User_Id_Exception extends InvalidArgumentException {
[10] Fix | Delete
[11] Fix | Delete
/**
[12] Fix | Delete
* Constructs the exception.
[13] Fix | Delete
*
[14] Fix | Delete
* @link https://php.net/manual/en/exception.construct.php
[15] Fix | Delete
*
[16] Fix | Delete
* @param string $message Optional. The Exception message to throw.
[17] Fix | Delete
* @param int $code Optional. The Exception code.
[18] Fix | Delete
* @param Throwable|null $previous Optional. The previous throwable used for the exception chaining.
[19] Fix | Delete
*/
[20] Fix | Delete
public function __construct( // phpcs:ignore Generic.CodeAnalysis.UselessOverridingMethod.Found -- Reason: A default message is used.
[21] Fix | Delete
$message = 'Invalid User ID',
[22] Fix | Delete
$code = 0,
[23] Fix | Delete
$previous = null
[24] Fix | Delete
) {
[25] Fix | Delete
parent::__construct( $message, $code, $previous );
[26] Fix | Delete
}
[27] Fix | Delete
}
[28] Fix | Delete
[29] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function