Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflict regarding nikic/php-parser version (Symfony 4) #20

Open
martin-juul opened this issue Mar 27, 2018 · 1 comment
Open

Conflict regarding nikic/php-parser version (Symfony 4) #20

martin-juul opened this issue Mar 27, 2018 · 1 comment

Comments

@martin-juul
Copy link

I tried to start a new project with symfony 4, doctrine and maker. But php-di requires a version of nikic/php-parser at ^2.0|^3.0 - would it be possible to update the dependency requirements?

Error log:

composer require php-di/symfony-bridge

Using version ^3.0 for php-di/symfony-bridge
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - php-di/symfony-bridge 3.0.0 requires php-di/php-di ~6.0 -> satisfiable by php-di/php-di[6.0.0].
    - Installation request for php-di/symfony-bridge ^3.0 -> satisfiable by php-di/symfony-bridge[3.0.0].
    - Conclusion: remove nikic/php-parser v4.0.1
    - Conclusion: don't install nikic/php-parser v4.0.1
    - php-di/php-di 6.0.0 requires nikic/php-parser ^2.0|^3.0 -> satisfiable by nikic/php-parser[v2.0.0, v2.0.1, v2.1.0, v2.1.1, v3.0.0, v3.0.1, v3.0.2, v3.0.3, v3.0.4, v3.0.5, v3.0.6, 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[v2.0.0, v4.0.1].
    - Can only install one of: nikic/php-parser[v2.0.1, v4.0.1].
    - Can only install one of: nikic/php-parser[v2.1.0, v4.0.1].
    - Can only install one of: nikic/php-parser[v2.1.1, v4.0.1].
    - Can only install one of: nikic/php-parser[v3.0.0, v4.0.1].
    - Can only install one of: nikic/php-parser[v3.0.1, v4.0.1].
    - Can only install one of: nikic/php-parser[v3.0.2, v4.0.1].
    - Can only install one of: nikic/php-parser[v3.0.3, v4.0.1].
    - Can only install one of: nikic/php-parser[v3.0.4, v4.0.1].
    - Can only install one of: nikic/php-parser[v3.0.5, v4.0.1].
    - Can only install one of: nikic/php-parser[v3.0.6, v4.0.1].
    - Can only install one of: nikic/php-parser[v3.1.0, v4.0.1].
    - Can only install one of: nikic/php-parser[v3.1.1, v4.0.1].
    - Can only install one of: nikic/php-parser[v3.1.2, v4.0.1].
    - Can only install one of: nikic/php-parser[v3.1.3, v4.0.1].
    - Can only install one of: nikic/php-parser[v3.1.4, v4.0.1].
    - Can only install one of: nikic/php-parser[v3.1.5, v4.0.1].
    - Installation request for nikic/php-parser (locked at v4.0.1) -> satisfiable by nikic/php-parser[v4.0.1].


Installation failed, reverting ./composer.json to its original content.
@martin-juul martin-juul changed the title Conflict regarding nikic/php-parser version Conflict regarding nikic/php-parser version (Symfony 4) Mar 27, 2018
@mnapoli
Copy link
Member

mnapoli commented Mar 28, 2018

Thanks, please see PHP-DI/PHP-DI#585 which tracks this issue in the main repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants