Skip to content

Dependency on a specific version of nikic/php-parser #28

Description

@ww-stas

Your package has dependency on nikic/php-parser: 3.0.6. But my project already installed php-parser but 3.1.1 version. For this reason I can't install soft-mocks, if I try I got next error:

  Problem 1
    - Can only install one of: nikic/php-parser[v3.0.6, v3.1.1].
    - Can only install one of: nikic/php-parser[v3.1.1, v3.0.6].
    - Can only install one of: nikic/php-parser[v3.0.6, v3.1.1].
    - badoo/soft-mocks 1.3.0 requires nikic/php-parser 3.0.6 -> satisfiable by nikic/php-parser[v3.0.6].
    - Installation request for badoo/soft-mocks ^1.3 -> satisfiable by badoo/soft-mocks[1.3.0].
    - Installation request for nikic/php-parser (locked at v3.1.1, required as ^3.0.6) -> satisfiable by nikic/php-parser[v3.1.1].

Is there a reason to declare a dependency on a specific version? Maybe you need to write
"nikic/php-parser": "^3.0.6" in your composer.json?

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