chg: [securityAudit] PHP 7.3 is not supported anymore

pull/7975/head
Jakub Onderka 2021-11-21 08:33:55 +01:00
parent fc16acb070
commit d5d83fe26d
1 changed files with 1 additions and 7 deletions

View File

@ -213,18 +213,12 @@ class SecurityAudit
}
} catch (RuntimeException $e) {}
if (version_compare(PHP_VERSION, '7.3.0', '<')) {
if (version_compare(PHP_VERSION, '7.4.0', '<')) {
$output['PHP'][] = [
'warning',
__('PHP version %s is not supported anymore. It can be still supported by your distribution.', PHP_VERSION),
'https://www.php.net/supported-versions.php'
];
} else if (version_compare(PHP_VERSION, '7.4.0', '<')) {
$output['PHP'][] = [
'hint',
__('PHP version 7.3 will not be supported after 6 Dec 2021. Even beyond that date, it can be still supported by your distribution.'),
'https://www.php.net/supported-versions.php'
];
}
if (ini_get('expose_php')) {