Skip to content

Can't install due to conflicting requirements #800

Closed
@andremartinez

Description

@andremartinez

I'm trying to require DoctrineModule using:

composer require doctrine/doctrine-module:5.3.0

Pretty standard, but I'm getting the following:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires doctrine/doctrine-module 5.3.0 -> satisfiable by doctrine/doctrine-module[5.3.0].
    - doctrine/doctrine-module 5.3.0 requires doctrine/annotations ^1.13.3 -> found doctrine/annotations[1.13.3, ..., 1.14.3] but the package is fixed to 2.0.1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.

The conflicting package is PHP-CS-Fixer, that requires this:

        "doctrine/annotations": "^2",

While the composer.json in DoctrineModule requires this:

        "doctrine/annotations": "^1.13.3",

I'm not sure whether doctrine/annotations has a stable release for version 2, and this repo should upgrade the requirement or not

What do you guys suggest?

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