class TestMinimumPhpVersion in Automatic Updates 8
Class TestMinimumPhpVersion.
Hierarchy
- class \Drupal\automatic_updates\ReadinessChecker\SupportedPhpVersion implements ReadinessCheckerInterface
- class \Drupal\automatic_updates\ReadinessChecker\MinimumPhpVersion uses StringTranslationTrait
- class \Drupal\Tests\automatic_updates\Kernel\ReadinessChecker\TestMinimumPhpVersion
- class \Drupal\automatic_updates\ReadinessChecker\MinimumPhpVersion uses StringTranslationTrait
Expanded class hierarchy of TestMinimumPhpVersion
File
- tests/
src/ Kernel/ ReadinessChecker/ SupportedPhpVersionTest.php, line 64
Namespace
Drupal\Tests\automatic_updates\Kernel\ReadinessCheckerView source
class TestMinimumPhpVersion extends MinimumPhpVersion {
/**
* {@inheritdoc}
*/
protected function getPhpVersion() {
return '7.0.7';
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
MinimumPhpVersion:: |
protected | function |
Get the message to return if the current PHP version is unsupported. Overrides SupportedPhpVersion:: |
|
MinimumPhpVersion:: |
protected | function |
Get the unsupported PHP version constraint. Overrides SupportedPhpVersion:: |
|
StringTranslationTrait:: |
protected | property | The string translation service. | 1 |
StringTranslationTrait:: |
protected | function | Formats a string containing a count of items. | |
StringTranslationTrait:: |
protected | function | Returns the number of plurals supported by a given language. | |
StringTranslationTrait:: |
protected | function | Gets the string translation service. | |
StringTranslationTrait:: |
public | function | Sets the string translation service to use. | 2 |
StringTranslationTrait:: |
protected | function | Translates a string to the current language or to a given language. | |
SupportedPhpVersion:: |
public | function |
Run check. Overrides ReadinessCheckerInterface:: |
|
TestMinimumPhpVersion:: |
protected | function |
Get the PHP version. Overrides SupportedPhpVersion:: |