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.../src/services/health-c...
File: reports-trait.php
<?php
[0] Fix | Delete
[1] Fix | Delete
namespace Yoast\WP\SEO\Services\Health_Check;
[2] Fix | Delete
[3] Fix | Delete
/**
[4] Fix | Delete
* Used by classes that use a health check Report_Builder.
[5] Fix | Delete
*/
[6] Fix | Delete
trait Reports_Trait {
[7] Fix | Delete
[8] Fix | Delete
/**
[9] Fix | Delete
* The factory for the builder object that generates WordPress-friendly test results.
[10] Fix | Delete
*
[11] Fix | Delete
* @var Report_Builder_Factory
[12] Fix | Delete
*/
[13] Fix | Delete
private $report_builder_factory;
[14] Fix | Delete
[15] Fix | Delete
/**
[16] Fix | Delete
* The test identifier that's set on the Report_Builder.
[17] Fix | Delete
*
[18] Fix | Delete
* @var string
[19] Fix | Delete
*/
[20] Fix | Delete
private $test_identifier = '';
[21] Fix | Delete
[22] Fix | Delete
/**
[23] Fix | Delete
* Sets the name that WordPress uses to identify this health check.
[24] Fix | Delete
*
[25] Fix | Delete
* @param string $test_identifier The identifier.
[26] Fix | Delete
* @return void
[27] Fix | Delete
*/
[28] Fix | Delete
public function set_test_identifier( $test_identifier ) {
[29] Fix | Delete
$this->test_identifier = $test_identifier;
[30] Fix | Delete
}
[31] Fix | Delete
[32] Fix | Delete
/**
[33] Fix | Delete
* Returns a new Report_Builder instance using the set test identifier.
[34] Fix | Delete
*
[35] Fix | Delete
* @return Report_Builder
[36] Fix | Delete
*/
[37] Fix | Delete
private function get_report_builder() {
[38] Fix | Delete
return $this->report_builder_factory->create( $this->test_identifier );
[39] Fix | Delete
}
[40] Fix | Delete
}
[41] Fix | Delete
[42] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function