Deprecate PHP < 7.1.3 (#9645)

* Added validation and support for users on PHP < 7.1.3

* Branch name php56
This commit is contained in:
Neil Lathwood
2019-02-07 19:23:30 +00:00
committed by Tony Murray
parent 80f31b4831
commit 6fdafd137c
3 changed files with 25 additions and 6 deletions

View File

@@ -70,7 +70,12 @@ class Updates extends BaseValidation
if ($versions['local_branch'] == 'php53') {
$validator->warn(
"You are on the PHP 5.3 support branch, this will prevent automatic updates.",
"Update to PHP 5.6.4 or newer (PHP 7.1 recommended) to continue to receive updates."
"Update to PHP 5.6.4 or newer (PHP 7.2 recommended) to continue to receive updates."
);
} elseif ($versions['local_branch'] == 'php56') {
$validator->warn(
"You are on the PHP 5.6/7.0 support branch, this will prevent automatic updates.",
"Update to PHP 7.1.3 or newer (PHP 7.2 recommended) to continue to receive updates."
);
} else {
$validator->warn(