Skip to content

Commit

Permalink
Fix PHP 8.4.0 release date (#1141)
Browse files Browse the repository at this point in the history
  • Loading branch information
saundefined authored Nov 21, 2024
1 parent 0e6e736 commit 50e0ca8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions include/branches.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down Expand Up @@ -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"])) {
Expand Down

0 comments on commit 50e0ca8

Please sign in to comment.