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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user