Skip to content

Commit

Permalink
Fixes installation of Pest in Laravel 10 (#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
nunomaduro authored Feb 9, 2023
1 parent 8673653 commit 8b88407
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/NewCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,8 @@ protected function installPest(string $directory, InputInterface $input, OutputI
chdir($directory);

$commands = array_filter([
$this->findComposer().' require pestphp/pest pestphp/pest-plugin-laravel --dev',
$this->findComposer().' remove nunomaduro/collision phpunit/phpunit --dev',
$this->findComposer().' require nunomaduro/collision:^6.4 pestphp/pest:^1.22 pestphp/pest-plugin-laravel:^1.2 --dev',
PHP_BINARY.' artisan pest:install --no-interaction',
]);

Expand Down

0 comments on commit 8b88407

Please sign in to comment.