Issue #3088081 by alexpott, dww, tedbow, xjm: Improve the error message if a...
Issue #3088081 by alexpott, dww, tedbow, xjm: Improve the error message if a nonsense constraint is used in core_version_requirement
(cherry picked from commit 1b676519)
thrownewInfoParserException("The 'core_version_requirement' constraint ({$parsed_info['core_version_requirement']}) is not a valid value in $filename");
}
// If the 'core_version_requirement' constraint does not satisfy any
// If the 'core_version_requirement' constraint does not satisfy any
// Drupal 8 versions before 8.7.7 then 'core' cannot be set or it will
// Drupal 8 versions before 8.7.7 then 'core' cannot be set or it will
// effectively support all versions of Drupal 8 because
// effectively support all versions of Drupal 8 because
$this->expectExceptionMessage('Could not parse version constraint not-this-version: Invalid version string "not-this-version"');
$this->expectExceptionMessage("The 'core_version_requirement' constraint (not-this-version) is not a valid value in vfs://modules/fixtures/unparsable_core_version_requirement.info.txt");