You are here

protected function BlacklistPhp72Versions::getMessage in Automatic Updates 8

Get the message to return if the current PHP version is unsupported.

Return value

\Drupal\Component\Render\MarkupInterface The message to return if the current PHP version is unsupported.

Overrides SupportedPhpVersion::getMessage

File

src/ReadinessChecker/BlacklistPhp72Versions.php, line 29

Class

BlacklistPhp72Versions
Blacklisted PHP 7.2 version checker.

Namespace

Drupal\automatic_updates\ReadinessChecker

Code

protected function getMessage() {
  return $this
    ->t('PHP 7.2.0, 7.2.1 and 7.2.2 have issues with opcache that breaks signature validation. Please upgrade to a newer version of PHP to ensure assurance and security for package signing.');
}