mamuz / PhpDependencyAnalysis

Static code analysis to find violations in a dependency graph
http://mamuz.github.io/PhpDependencyAnalysis/
MIT License
561 stars 45 forks source link

Composer package is no longer installable #52

Closed jakzal closed 4 years ago

jakzal commented 4 years ago

My Environment (version of the project, operating system, or hardware)

PHP 7.4.8 (cli) (built: Jul  9 2020 23:43:51) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Zend OPcache v7.4.8, Copyright (c), by Zend Technologies

When I run this command:

composer require --dev  mamuz/php-dependency-analysis

Actual behavior:

Using version ^2.0 for mamuz/php-dependency-analysis
./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
    - Conclusion: don't install mamuz/php-dependency-analysis v2.0.2
    - Conclusion: don't install roave/better-reflection 4.8.0
    - Conclusion: don't install phpdocumentor/reflection-docblock 4.3.4|install roave/better-reflection 4.8.0
    - Conclusion: don't install phpdocumentor/reflection-docblock 5.2.1
    - Conclusion: don't install roave/better-reflection 4.7.0
    - Conclusion: don't install phpdocumentor/reflection-docblock 4.3.2|install roave/better-reflection 4.7.0|install roave/better-reflection 4.8.0|install phpdocumentor/reflection-docblock 5.2.1
    - Conclusion: don't install phpdocumentor/reflection-docblock 4.3.3|install roave/better-reflection 4.7.0|install roave/better-reflection 4.8.0
    - Installation request for phpat/phpat ^0.7.3 -> satisfiable by phpat/phpat[0.7.3].
    - Conclusion: don't install phpdocumentor/reflection-docblock 5.2.0
    - mamuz/php-dependency-analysis v2.0.1 requires phpdocumentor/reflection-docblock ~4.0 -> satisfiable by phpdocumentor/reflection-docblock[4.0.0, 4.0.1, 4.1.0, 4.1.1, 4.2.0, 4.3.0, 4.3.1, 4.3.2, 4.3.3, 4.3.4].
    - mamuz/php-dependency-analysis v2.0.0 requires phpdocumentor/reflection-docblock ~4.0 -> satisfiable by phpdocumentor/reflection-docblock[4.0.0, 4.0.1, 4.1.0, 4.1.1, 4.2.0, 4.3.0, 4.3.1, 4.3.2, 4.3.3, 4.3.4].
    - Can only install one of: phpdocumentor/reflection-docblock[5.1.0, 4.0.0].
    - Can only install one of: phpdocumentor/reflection-docblock[5.1.0, 4.0.1].
    - Can only install one of: phpdocumentor/reflection-docblock[5.1.0, 4.1.0].
    - Can only install one of: phpdocumentor/reflection-docblock[5.1.0, 4.1.1].
    - Can only install one of: phpdocumentor/reflection-docblock[5.1.0, 4.2.0].
    - Can only install one of: phpdocumentor/reflection-docblock[5.1.0, 4.3.0].
    - Can only install one of: phpdocumentor/reflection-docblock[5.1.0, 4.3.1].
    - Conclusion: install roave/better-reflection 4.7.0|install roave/better-reflection 4.8.0|install phpdocumentor/reflection-docblock 5.1.0|install phpdocumentor/reflection-docblock 5.2.0|install phpdocumentor/reflection-docblock 5.2.1
    - Installation request for mamuz/php-dependency-analysis ^2.0 -> satisfiable by mamuz/php-dependency-analysis[v2.0.0, v2.0.1, v2.0.2].

Expected behavior: Package is installed.

jakzal commented 4 years ago

I noticed the composer.lock file is commited. The lock file doesn't have any effect on the project dependencies when it's installed with composer require.

jakzal commented 4 years ago

Nvm, just noticed the problem is caused by another package. Sorry for the noise.