17 calls to ValidationResult::createError() in Automatic Updates 8.2
- ComposerExecutableValidator::checkForComposerExecutable in src/
Validator/ ComposerExecutableValidator.php - Validates that the Composer executable can be found.
- ComposerExecutableValidatorTest::providerComposerVersionValidation in tests/
src/ Kernel/ ReadinessValidation/ ComposerExecutableValidatorTest.php - Data provider for ::testComposerVersionValidation().
- ComposerExecutableValidatorTest::testErrorIfComposerNotFound in tests/
src/ Kernel/ ReadinessValidation/ ComposerExecutableValidatorTest.php - Tests that an error is raised if the Composer executable isn't found.
- CoreComposerValidator::checkCoreRequirements in src/
Validator/ CoreComposerValidator.php - Validates the Drupal core requirements in composer.json.
- CoreComposerValidatorTest::testCoreNotRequired in tests/
src/ Kernel/ ReadinessValidation/ CoreComposerValidatorTest.php - Tests that an error is raised if core is not required in composer.json.
- DiskSpaceValidator::checkDiskSpace in src/
Validator/ DiskSpaceValidator.php - Checks that there is enough free space to perform automatic updates.
- DiskSpaceValidatorTest::providerDiskSpaceValidation in tests/
src/ Kernel/ ReadinessValidation/ DiskSpaceValidatorTest.php - Data provider for ::testDiskSpaceValidation().
- PendingUpdatesValidator::checkPendingUpdates in src/
Validator/ PendingUpdatesValidator.php - Validates that there are no pending database updates.
- PendingUpdatesValidatorTest::testPendingPostUpdate in tests/
src/ Kernel/ ReadinessValidation/ PendingUpdatesValidatorTest.php - Tests that an error is raised if there are pending post-updates.
- PendingUpdatesValidatorTest::testPendingUpdateHook in tests/
src/ Kernel/ ReadinessValidation/ PendingUpdatesValidatorTest.php - Tests that an error is raised if there are pending schema updates.
- StagedProjectsValidator::validateStagedProjects in src/
Validator/ StagedProjectsValidator.php - Validates the staged packages.
- UpdaterFormTest::testUpdateErrors in tests/
src/ Functional/ UpdaterFormTest.php - Tests handling of errors and warnings during the update process.
- UpdateVersionValidator::checkUpdateVersion in src/
Validator/ UpdateVersionValidator.php - Validates that core is not being updated to another minor or major version.
- ValidationResultTest::testCreateErrorResult in tests/
src/ Unit/ ValidationResultTest.php - @covers ::createError
- ValidationResultTest::testCreateErrorResultException in tests/
src/ Unit/ ValidationResultTest.php - @covers ::createError
- ValidationTestTrait::createTestValidationResults in tests/
src/ Traits/ ValidationTestTrait.php - Creates ValidationResult objects to be used in tests.
- WritableFileSystemValidator::checkPermissions in src/
Validator/ WritableFileSystemValidator.php - Checks that the file system is writable.