We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5966c24 commit 33bea08Copy full SHA for 33bea08
.github/workflows/tests.yml
@@ -13,7 +13,7 @@ jobs:
13
strategy:
14
fail-fast: true
15
matrix:
16
- php: [7.2, 7.3, 7.4]
+ php: [7.3, 7.4]
17
18
name: PHP ${{ matrix.php }}
19
src/NewCommand.php
@@ -41,6 +41,10 @@ protected function configure()
41
*/
42
protected function execute(InputInterface $input, OutputInterface $output)
43
{
44
+ if (version_compare(PHP_VERSION, '7.3.0', '<')) {
45
+ throw new RuntimeException('Installer not available for PHP 7.2. Please use "composer create-project laravel/laravel" instead.');
46
+ }
47
+
48
if (! extension_loaded('zip')) {
49
throw new RuntimeException('The Zip PHP extension is not installed. Please install it and try again.');
50
}
0 commit comments