Skip to content

Commit

Permalink
Remove 120 planned dot release
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalchevrel committed Nov 30, 2023
1 parent ce9df00 commit 8ea909b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/classes/ReleaseInsights/Release.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
class Release
{
/** @var array<string> $no_planned_dot_releases */
public array $no_planned_dot_releases = ['108.0', '111.0', '115.0'];
public array $no_planned_dot_releases = ['108.0', '111.0', '115.0', '120.0'];

/* @phpstan-ignore-next-line */
private Status $release_status;
Expand Down
2 changes: 1 addition & 1 deletion app/models/calendar_monthly.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
// Check if we have a planned dot release coming for the current cycle
$current_release = key($releases->getLatestMajorRelease());
$current_release_schedule = (new Release($current_release))->getSchedule();
$date = (new DateTime($current_release_schedule['planned_dot_release']))->format('Y-m-d');

if (isset($current_release_schedule['planned_dot_release'])) {
$date = (new DateTime($current_release_schedule['planned_dot_release']))->format('Y-m-d');
$events[] = [
'start' => $date,
'end' => $date,
Expand Down

0 comments on commit 8ea909b

Please sign in to comment.