Author: Sergey Panteleev (saundefined)
Committer: GitHub (web-flow)
Pusher: saundefined
Date: 2024-11-21T13:02:19+03:00
Commit: https://github.com/php/web-php/commit/50e0ca82ef6dcb75d1685e16755aa7c0ba922d0b
Raw diff: https://github.com/php/web-php/commit/50e0ca82ef6dcb75d1685e16755aa7c0ba922d0b.diff
Fix PHP 8.4.0 release date (#1141)
Changed paths:
M include/branches.inc
Diff:
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"])) {