Closed arcanedev-maroc closed 4 years ago
BTW, you can use |
instead of ||
. Something like this "symfony/console": "^3.0|^4.0|^5.0"
Example: https://semver.mwl.be/#!?package=symfony%2Fconsole&version=^3.0|^4.0|^5.0&minimum-stability=stable
You probably have an old package in your global composer.json. Open your ~/.composer/composer.json and check your package versions on packagist.org. In my case, it was an outdated laravel/installer which i replaced with "*" (i always want the latest version). Then run composer global upgrade and the install works fine.
This is the ouput:
Can you solve this issue by adding
^5.0
forsymfony/console
at https://github.com/sebastianbergmann/phpcov/blob/6.0.1/composer.json#L31?