From 51f8527dfb443c4a13e4cb01dc370bbe7c0e70d8 Mon Sep 17 00:00:00 2001 From: Sergey Panteleev Date: Thu, 21 Nov 2024 12:57:28 +0300 Subject: [PATCH] Fix PHP 8.4.0 release date --- include/branches.inc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/branches.inc b/include/branches.inc index a7a8d0a094..f3795963f7 100644 --- a/include/branches.inc +++ b/include/branches.inc @@ -37,6 +37,9 @@ $BRANCHES = [ 'stable' => '2018-01-04', 'security' => '2019-01-10', ], + '8.4' => [ + 'date' => '2024-11-21', + ], ]; /* Time to keep EOLed branches in the array returned by get_active_branches(), @@ -254,6 +257,10 @@ function get_initial_release($branch) { return $GLOBALS['OLDRELEASES'][$major]["$branch.0"]; } + if(isset($GLOBALS['BRANCHES'][$branch])) { + return $GLOBALS['BRANCHES'][$branch]; + } + /* If there's only been one release on the branch, it won't be in * $OLDRELEASES yet, so let's check $RELEASES. */ if (isset($GLOBALS['RELEASES'][$major]["$branch.0"])) {