theseer / phpdox

Documentation generator for PHP Code using standard technology (SRC, DOCBLOCK, XML and XSLT)
http://phpdox.de
Other
600 stars 121 forks source link

Conflict with phpunit #395

Closed KaidenTheo closed 4 years ago

KaidenTheo commented 4 years ago
# composer require --dev theseer/phpdox

Using version ^0.12.0 for theseer/phpdox
./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 theseer/phpdox ^0.12.0 -> satisfiable by theseer/phpdox[0.12.0].
    - Conclusion: remove phpunit/php-timer 3.0.0
    - Conclusion: don't install phpunit/php-timer 3.0.0
    - theseer/phpdox 0.12.0 requires phpunit/php-timer ^2.0 -> satisfiable by phpunit/php-timer[2.0.0, 2.1.0, 2.1.1, 2.1.2].
    - Can only install one of: phpunit/php-timer[2.0.0, 3.0.0].
    - Can only install one of: phpunit/php-timer[2.1.0, 3.0.0].
    - Can only install one of: phpunit/php-timer[2.1.1, 3.0.0].
    - Can only install one of: phpunit/php-timer[2.1.2, 3.0.0].
    - Installation request for phpunit/php-timer (locked at 3.0.0) -> satisfiable by phpunit/php-timer[3.0.0].

Installation failed, reverting ./composer.json to its original content.

Please upgrade dependency php-timer to 3.0.0 version.

I can't require phpdox and phpunit both in one project.

theseer commented 4 years ago
  1. There's already a PR for that, i'll look into it.
  2. Install phpunit and phpdox as phar.
theseer commented 4 years ago

More detailed explanation here: https://github.com/theseer/phpdox/issues/328#issuecomment-372602708