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

Conflict with phpunit #395

Closed
KaidenTheo opened this issue Mar 5, 2020 · 2 comments
Closed

Conflict with phpunit #395

KaidenTheo opened this issue Mar 5, 2020 · 2 comments

Comments

@KaidenTheo
Copy link

# 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
Copy link
Owner

theseer commented Mar 5, 2020

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

@theseer theseer closed this as completed Mar 5, 2020
@theseer
Copy link
Owner

theseer commented Mar 5, 2020

More detailed explanation here: #328 (comment)

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

2 participants