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

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

Open
ww-stas opened this issue Nov 3, 2017 · 0 comments
Open

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

ww-stas opened this issue Nov 3, 2017 · 0 comments

Comments

@ww-stas
Copy link

ww-stas commented Nov 3, 2017

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?

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

1 participant