Skip to content

Commit

Permalink
Add support for reporting PHP 8.4 EOL #116
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbingwide committed Sep 14, 2024
1 parent 3a43eda commit 8cfcc22
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions admin/class-oik-trace-info.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php // (C) Copyright Bobbing Wide 2016,2017,2019,2021
<?php // (C) Copyright Bobbing Wide 2016,2017,2019,2021, 2024
/**
* Class: OIK_trace_info
*
Expand Down Expand Up @@ -220,16 +220,17 @@ function php_end_of_life() {
, "5.3" => "2014-08-14"
, "5.4" => "2015-09-03"
, "5.5" => "2016-07-21"
, "5.6" => "2018-12-31" // Minimum for legacy
, "5.6" => "2018-12-31"
, "7.0" => "2018-12-03"
, "7.1" => "2019-12-01"
, "7.2" => "2020-11-30"
, "7.2" => "2020-11-30" // minimum
, '7.3' => '2021-12-06'
, '7.4' => '2022-11-28' // Recommended
, '7.4' => '2022-11-28' // recommended
, '8.0' => '2023-11-26'
, '8.1' => '2024-11-25'
, '8.2' => '2025-12-08'
, '8.2' => '2025-12-08' // hosting team recommendation
, '8.3' => '2026-11-23'
, '8.4' => '2028-12-31'
);
$eol = $php_eol[ PHP_MAJOR_VERSION . '.' . PHP_MINOR_VERSION ];
if ( $eol < date( "Y-m-d" ) ) {
Expand All @@ -242,4 +243,4 @@ function php_end_of_life() {
}
return( $message );
}
}
}

0 comments on commit 8cfcc22

Please # to comment.