qossmic / deprecation-detector

MIT License
391 stars 40 forks source link

Cannot install with symfony3 #119

Closed adrienbrault closed 7 years ago

adrienbrault commented 8 years ago

https://github.com/symfony/symfony/blob/be4255e5bc2bfd77951aa579e3444ce73b8e2d91/composer.json#L93

I get:

$ composer require --dev "sensiolabs-de/deprecation-detector:dev-master"
./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
    - Installation request for sensiolabs-de/deprecation-detector dev-master -> satisfiable by sensiolabs-de/deprecation-detector[dev-master].
    - Conclusion: remove symfony/symfony v3.1.3
    - Conclusion: don't install symfony/symfony v3.1.3
    - sensiolabs-de/deprecation-detector dev-master requires phpdocumentor/reflection-docblock ~2.0 -> satisfiable by phpdocumentor/reflection-docblock[2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4].
    - phpdocumentor/reflection-docblock 2.0.0 conflicts with symfony/symfony[v3.1.3].
    - phpdocumentor/reflection-docblock 2.0.1 conflicts with symfony/symfony[v3.1.3].
    - phpdocumentor/reflection-docblock 2.0.2 conflicts with symfony/symfony[v3.1.3].
    - phpdocumentor/reflection-docblock 2.0.3 conflicts with symfony/symfony[v3.1.3].
    - phpdocumentor/reflection-docblock 2.0.4 conflicts with symfony/symfony[v3.1.3].
    - Installation request for symfony/symfony (locked at v3.1.3, required as 3.1.*) -> satisfiable by symfony/symfony[v3.1.3].

Installation failed, reverting ./composer.json to its original content.
theofidry commented 7 years ago

For people encountering this issue: use a PHAR (which you can keep track of with https://github.com/tommy-muehle/tooly-composer-script) or install it in another composer.json inside your project (cf. https://github.com/bamarni/composer-bin-plugin)