$error=$this->t('Unexpected changes were detected in composer.lock, which indicates that other Composer operations were performed since this Package Manager operation started. This can put the code base into an unreliable state and therefore is not allowed.');
$messages[]=$this->t('Unexpected changes were detected in composer.lock, which indicates that other Composer operations were performed since this Package Manager operation started. This can put the code base into an unreliable state and therefore is not allowed.');
}
// Don't allow staged changes to be applied if the staged lock file has no
// The stage was not created successfully, so the status check should be
// clear.
...
...
@@ -106,7 +107,7 @@ class LockFileValidatorTest extends PackageManagerKernelTestBase {
},$event_class);
$result=ValidationResult::createError([
t('Unexpected changes were detected in composer.lock, which indicates that other Composer operations were performed since this Package Manager operation started. This can put the code base into an unreliable state and therefore is not allowed.'),
]);
],t('Problem detected in lock file during stage operations.'));