Skip to content
Snippets Groups Projects
Verified Commit bd6f3290 authored by Dave Long's avatar Dave Long
Browse files

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

(cherry picked from commit d49ffa40)
parent 0589524c
No related branches found
No related tags found
3 merge requests!11769Issue #3517987: Add option to contextual filters to encode slashes in query parameter.,!11185Issue #3477324 by andypost, alexpott: Fix usage of str_getcsv() and fgetcsv() for PHP 8.4,!9944Issue #3483353: Consider making the createCopy config action optionally fail...
Pipeline #206762 passed
...@@ -243,7 +243,7 @@ private function getDateEndRequirement() { ...@@ -243,7 +243,7 @@ private function getDateEndRequirement() {
$request_date = $date_formatter->format($time->getRequestTime(), 'custom', 'Y-m-d'); $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) { if (!empty($this->securityCoverageInfo['security_coverage_ending_warn_date']) && $this->securityCoverageInfo['security_coverage_ending_warn_date'] <= $request_date) {
$requirement['description']['coverage_message'] = [ $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' => ' ', '#suffix' => ' ',
]; ];
$requirement['severity'] = REQUIREMENT_WARNING; $requirement['severity'] = REQUIREMENT_WARNING;
......
...@@ -80,7 +80,7 @@ public static function securityCoverageMessageProvider() { ...@@ -80,7 +80,7 @@ public static function securityCoverageMessageProvider() {
$release_coverage_message = 'Visit the release cycle overview for more information on supported releases.'; $release_coverage_message = 'Visit the release cycle overview for more information on supported releases.';
$coverage_ended_message = 'Coverage has ended'; $coverage_ended_message = 'Coverage has ended';
$update_asap_message = 'Update to a supported minor as soon as possible to continue receiving security updates.'; $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 = [ $test_cases = [
'8.0.0, unsupported' => [ '8.0.0, unsupported' => [
'installed_version' => '8.0.0', 'installed_version' => '8.0.0',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment