You are here

class TestBlacklistPhp72Versions in Automatic Updates 8

Class TestBlacklistPhp72Versions.

Hierarchy

Expanded class hierarchy of TestBlacklistPhp72Versions

File

tests/src/Kernel/ReadinessChecker/SupportedPhpVersionTest.php, line 50

Namespace

Drupal\Tests\automatic_updates\Kernel\ReadinessChecker
View source
class TestBlacklistPhp72Versions extends BlacklistPhp72Versions {

  /**
   * {@inheritdoc}
   */
  protected function getPhpVersion() {
    return '7.2.0';
  }

}

Members

Namesort descending Modifiers Type Description Overrides
BlacklistPhp72Versions::getMessage protected function Get the message to return if the current PHP version is unsupported. Overrides SupportedPhpVersion::getMessage
BlacklistPhp72Versions::getUnsupportedVersionConstraint protected function Get the unsupported PHP version constraint. Overrides SupportedPhpVersion::getUnsupportedVersionConstraint
StringTranslationTrait::$stringTranslation protected property The string translation service. 1
StringTranslationTrait::formatPlural protected function Formats a string containing a count of items.
StringTranslationTrait::getNumberOfPlurals protected function Returns the number of plurals supported by a given language.
StringTranslationTrait::getStringTranslation protected function Gets the string translation service.
StringTranslationTrait::setStringTranslation public function Sets the string translation service to use. 2
StringTranslationTrait::t protected function Translates a string to the current language or to a given language.
SupportedPhpVersion::run public function Run check. Overrides ReadinessCheckerInterface::run
TestBlacklistPhp72Versions::getPhpVersion protected function Get the PHP version. Overrides SupportedPhpVersion::getPhpVersion