laravel / homestead

MIT License
3.86k stars 1.45k forks source link

per project install, make command not working #1962

Closed frank-bg closed 5 months ago

frank-bg commented 6 months ago

Expected behavior

php vendor/bin/homestead make run successfully

Actual behavior

throws a fatal error

PHP Fatal error:  Declaration of Laravel\Homestead\MakeCommand::execute(Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output) must be compatible with Symfony\Component\Console\Command\Command::execute(Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output): int in vendor/laravel/homestead/src/MakeCommand.php on line 68

Steps to reproduce

  1. composer create-project laravel/laravel:^11.0 example-app
  2. cd example-app
  3. composer require laravel/homestead --dev
  4. php vendor/bin/homestead make
acoghlan commented 6 months ago

Yes - experiencing the same error. Runing latest composer, php8.2 on windows 10, trying to get a new laravel 11 site up and running.

acoghlan commented 6 months ago

Actually, this is a duplicate of #1953

frank-bg commented 6 months ago

duplicate indeed, didn’t check if there was a previous issue

svpernova09 commented 5 months ago

Tracking in https://github.com/laravel/homestead/issues/1953