function InstallerTestBase::setUpRequirementsProblem
Same name in other branches
- 9 core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php \Drupal\FunctionalTests\Installer\InstallerTestBase::setUpRequirementsProblem()
- 8.9.x core/modules/simpletest/src/InstallerTestBase.php \Drupal\simpletest\InstallerTestBase::setUpRequirementsProblem()
- 8.9.x core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php \Drupal\FunctionalTests\Installer\InstallerTestBase::setUpRequirementsProblem()
- 11.x core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php \Drupal\FunctionalTests\Installer\InstallerTestBase::setUpRequirementsProblem()
Installer step: Requirements problem.
Override this method to test specific requirements warnings or errors during the installer.
See also
2 calls to InstallerTestBase::setUpRequirementsProblem()
- InstallerExistingInstallationTest::testInstaller in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerExistingInstallationTest.php - Tests that Drupal fails to install when there is an existing installation.
- InstallerTestBase::setUp in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerTestBase.php
6 methods override InstallerTestBase::setUpRequirementsProblem()
- InstallerConfigDirectorySetNoDirectoryErrorTest::setUpRequirementsProblem in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerConfigDirectorySetNoDirectoryErrorTest.php - InstallerExistingBrokenDatabaseSettingsTest::setUpRequirementsProblem in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerExistingBrokenDatabaseSettingsTest.php - InstallerExistingConfigProfileHookInstall::setUpRequirementsProblem in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerExistingConfigProfileHookInstall.php - InstallerExistingConfigSyncDirectoryProfileHookInstall::setUpRequirementsProblem in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerExistingConfigSyncDirectoryProfileHookInstall.php - Installer step: Requirements problem.
- InstallerProfileRequirementsTest::setUpRequirementsProblem in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerProfileRequirementsTest.php
File
-
core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerTestBase.php, line 276
Class
- InstallerTestBase
- Base class for testing the interactive installer.
Namespace
Drupal\FunctionalTests\InstallerCode
protected function setUpRequirementsProblem() {
if (version_compare(phpversion(), PhpRequirements::getMinimumSupportedPhp()) < 0) {
$this->continueOnExpectedWarnings([
'PHP',
]);
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.