gpt4 book ai didi

php - 如何修复这个错误 Package phpunit/phpunit-mock-objects is disabled, 你应该避免使用它。没有建议更换

转载 作者:行者123 更新时间:2023-12-04 14:03:27 25 4
gpt4 key购买 nike

我想安装 Laravel 5.2 但它没有完全加载并显示这个错误:

Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.



我该如何解决?

最佳答案

PHPUnit version           PHP Version          composer
----------------- --------------- -------------------------
PHPUnit 8 PHP 7.2 / 7.3 "phpunit/phpunit": "^8"
PHPUnit 7 PHP 7.1 "phpunit/phpunit": "^7"
PHPUnit 6 PHP 7.0 "phpunit/phpunit": "^6"
PHPUnit 5 PHP 5.6 "phpunit/phpunit": "^5"

备注 :不再积极支持 PHP 7.1。
看到这个 link

Composer :添加 --ignore-platform-reqs

关于php - 如何修复这个错误 Package phpunit/phpunit-mock-objects is disabled, 你应该避免使用它。没有建议更换,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55696556/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com