php-stubs-generator
php-stubs-generator copied to clipboard
composer require: Your requirements could not be resolved to an installable set of packages
Hi,
Just tried to install php-stubs-generator globally and encountered this issue:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for giacocorsiglia/stubs-generator ^0.5.0 -> satisfiable by giacocorsiglia/stubs-generator[v0.5].
- Conclusion: remove nikic/php-parser v4.1.0
- Conclusion: don't install nikic/php-parser v4.1.0
- giacocorsiglia/stubs-generator v0.5 requires nikic/php-parser ^3.1 -> satisfiable by nikic/php-parser[v3.1.0, v3.1.1, v3.1.2, v3.1.3, v3.1.4, v3.1.5].
- Can only install one of: nikic/php-parser[v3.1.0, v4.1.0].
- Can only install one of: nikic/php-parser[v3.1.1, v4.1.0].
- Can only install one of: nikic/php-parser[v3.1.2, v4.1.0].
- Can only install one of: nikic/php-parser[v3.1.3, v4.1.0].
- Can only install one of: nikic/php-parser[v3.1.4, v4.1.0].
- Can only install one of: nikic/php-parser[v3.1.5, v4.1.0].
- Installation request for nikic/php-parser (locked at v4.1.0) -> satisfiable by nikic/php-parser[v4.1.0].
Installation failed, reverting ./composer.json to its original content.
Do you have plans to update this lib?
@GiacoCorsiglia,
FYI, I've upgraded nikic/php-parser
and vimeo/psalm
and it works flawlessly in my local env. Unfortunately I couldn't push it due to 403.
@AdamMarton You should create fork and push to the fork, then make pull request in this repository. https://akrabat.com/the-beginners-guide-to-contributing-to-a-github-project/
@AdamMarton You should create fork and push to the fork, then make pull request in this repository. https://akrabat.com/the-beginners-guide-to-contributing-to-a-github-project/
Thank you very much, @CZechBoY 👍
Simply issuing box compile
will build a self-containing PHAR from this project.
See https://github.com/humbug/box/releases
@GiacoCorsiglia Please consider PHIVE ditribution: https://phar.io/