1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-06 16:50:09 +01:00

Drop PHP 5.6; extract site-specific PHP version isolation to its own commands

This commit is contained in:
Matt Stauffer
2022-03-12 00:05:51 -05:00
parent a34073efed
commit eefc06b07f
12 changed files with 156 additions and 152 deletions

View File

@@ -16,8 +16,8 @@
exit(1);
}
if (version_compare(PHP_VERSION, '5.6.0', '<')) {
echo 'Valet requires PHP 5.6 or later.';
if (version_compare(PHP_VERSION, '7.0', '<')) {
echo 'Valet requires PHP 7.0 or later.';
exit(1);
}