You are here

class TestMinimumPhpVersion in Automatic Updates 8

Class TestMinimumPhpVersion.

Hierarchy

Expanded class hierarchy of TestMinimumPhpVersion

File

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

Namespace

Drupal\Tests\automatic_updates\Kernel\ReadinessChecker
View source
class TestMinimumPhpVersion extends MinimumPhpVersion {

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

}

Members

Namesort descending Modifiers Type Description Overrides
MinimumPhpVersion::getMessage protected function Get the message to return if the current PHP version is unsupported. Overrides SupportedPhpVersion::getMessage
MinimumPhpVersion::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
TestMinimumPhpVersion::getPhpVersion protected function Get the PHP version. Overrides SupportedPhpVersion::getPhpVersion