Skip to content

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

Open
@martin-juul

Description

@martin-juul

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions