我最近安装了php(8.1.7)和composer(2.3.7)和laravel 9;
现在我在运行命令时收到此错误
composer 更新
在一个laravel项目中,我搜索了很多但没有找到确切的解决方案,所有这些都没有讨论phpunit/phpunit的问题。
错误如下所示:
Problem 1
- phpunit/phpunit[6.0.0, ..., 6.5.14] require php ^7.0 -> your php version (8.1.7) does not satisfy that requirement.
- Root composer.json requires phpunit/phpunit ~6.0 -> satisfiable by phpunit/phpunit[6.0.0, ..., 6.5.14].```
Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号