Issue #3361728 by quietone, longwave, xjm: Make 10.x EOL warning better than the 9.5.x one

merge-requests/5063/head^2
Dave Long 2024-06-23 18:16:29 +01:00
parent 9e83195c5d
commit d49ffa40d1
No known key found for this signature in database
GPG Key ID: ED52AE211E142771
2 changed files with 2 additions and 2 deletions

View File

@ -243,7 +243,7 @@ final class ProjectSecurityRequirement {
$request_date = $date_formatter->format($time->getRequestTime(), 'custom', 'Y-m-d');
if (!empty($this->securityCoverageInfo['security_coverage_ending_warn_date']) && $this->securityCoverageInfo['security_coverage_ending_warn_date'] <= $request_date) {
$requirement['description']['coverage_message'] = [
'#markup' => $this->t('Update to a supported minor version soon to continue receiving security updates.'),
'#markup' => $this->t('Update to a supported version soon to continue receiving security updates.'),
'#suffix' => ' ',
];
$requirement['severity'] = REQUIREMENT_WARNING;

View File

@ -80,7 +80,7 @@ class UpdateSemverCoreSecurityCoverageTest extends UpdateSemverCoreTestBase {
$release_coverage_message = 'Visit the release cycle overview for more information on supported releases.';
$coverage_ended_message = 'Coverage has ended';
$update_asap_message = 'Update to a supported minor as soon as possible to continue receiving security updates.';
$update_soon_message = 'Update to a supported minor version soon to continue receiving security updates.';
$update_soon_message = 'Update to a supported version soon to continue receiving security updates.';
$test_cases = [
'8.0.0, unsupported' => [
'installed_version' => '8.0.0',