Ad
How To Fix This Error Package Phpunit/phpunit-mock-objects Is Abandoned, You Should Avoid Using It. No Replacement Was Suggested
I want to to install Laravel 5.2 but it doesn't fully load and shows me this error:
Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.
How can I fix it?
Ad
Answer
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"
Note: PHP 7.1 is no longer actively supported.
See this link
composer: add --ignore-platform-reqs
Ad
source: stackoverflow.com
Related Questions
- → "failed to open stream" error when executing "migrate:make"
- → October CMS Plugin Routes.php not registering
- → OctoberCMS Migrate Table
- → OctoberCMS Rain User plugin not working or redirecting
- → October CMS Custom Mail Layout
- → October CMS - How to correctly route
- → October CMS create a multi select Form field
- → October CMS - Conditionally Load a Different Page
- → How to disable assets combining on development in OctoberCMS
- → October CMS - Radio Button Ajax Click Twice in a Row Causes Content to disappear
- → OctoberCms component: How to display all ID(items) instead of sorting only one ID?
- → In OctoberCMS how do you find the hint path?
- → How to register middlewares in OctoberCMS plugin?
Ad