Closed daveaie closed 2 months ago
Hi @nunomaduro , you have updated to ^10.15.17, but laravel require ^11.x
creating a new laravel 11 project i can not use pest
Sorry @nunomaduro i read well the installation section and see that needs to remove phpunit before install pest. I undesrtud that it align dependecies version and installa the correct version , compatible with other composer package. but the question is : is correct to reduce compatibility version of laravel default?
I suppose the answare is "yes" , because the phpunit is only for running test suite, and if you use pest instead of default laraval test, is correct to intall dependecies of pest.
What Happened
creating a new laravel project and adding pest with
sail composer require pestphp/pest-plugin-laravel --dev --with-all-dependencies
get this error:I check on lararavel repo that on March 26 they have update requirments on phpunit to 11 https://github.com/laravel/laravel/pull/6385/files
How can i install pest ? there is some workaround ?
How to Reproduce
curl -s "https://laravel.build/example-app?with=mysql,redis" | bash
(or other install with out sail)sail composer require pestphp/pest-plugin-laravel --dev --with-all-dependencies
(in cae do not use sail before composer)Sample Repository
No response
Pest Version
last
PHP Version
8.3
Operation System
Linux
Notes
No response