Skip to content

Commit 8cfcc22

Browse files
committed
Add support for reporting PHP 8.4 EOL #116
1 parent 3a43eda commit 8cfcc22

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

admin/class-oik-trace-info.php

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?php // (C) Copyright Bobbing Wide 2016,2017,2019,2021
1+
<?php // (C) Copyright Bobbing Wide 2016,2017,2019,2021, 2024
22
/**
33
* Class: OIK_trace_info
44
*
@@ -220,16 +220,17 @@ function php_end_of_life() {
220220
, "5.3" => "2014-08-14"
221221
, "5.4" => "2015-09-03"
222222
, "5.5" => "2016-07-21"
223-
, "5.6" => "2018-12-31" // Minimum for legacy
223+
, "5.6" => "2018-12-31"
224224
, "7.0" => "2018-12-03"
225225
, "7.1" => "2019-12-01"
226-
, "7.2" => "2020-11-30"
226+
, "7.2" => "2020-11-30" // minimum
227227
, '7.3' => '2021-12-06'
228-
, '7.4' => '2022-11-28' // Recommended
228+
, '7.4' => '2022-11-28' // recommended
229229
, '8.0' => '2023-11-26'
230230
, '8.1' => '2024-11-25'
231-
, '8.2' => '2025-12-08'
231+
, '8.2' => '2025-12-08' // hosting team recommendation
232232
, '8.3' => '2026-11-23'
233+
, '8.4' => '2028-12-31'
233234
);
234235
$eol = $php_eol[ PHP_MAJOR_VERSION . '.' . PHP_MINOR_VERSION ];
235236
if ( $eol < date( "Y-m-d" ) ) {
@@ -242,4 +243,4 @@ function php_end_of_life() {
242243
}
243244
return( $message );
244245
}
245-
}
246+
}

0 commit comments

Comments
 (0)