protected function fetchLatestCertData($until = false)
{
if (static::$allowOnlineTest) {
return parent::fetchLatestCertData($until);
}
$return = $this->certData ?: file_get_contents(__DIR__ . '/../_files/certdata.txt');
if ($until) {
return substr($return, 0, strpos($return, "\n", strpos($return, $until)));
}
return $return;
}