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

Cannot use lodash-php along with PhpUnit 11.x #45

Open
marc-bouvier opened this issue Apr 27, 2024 · 0 comments
Open

Cannot use lodash-php along with PhpUnit 11.x #45

marc-bouvier opened this issue Apr 27, 2024 · 0 comments

Comments

@marc-bouvier
Copy link

marc-bouvier commented Apr 27, 2024

When I try to use PhpUnit 11.x there is a dependance compatibility conflict with sebastian/comparator.

Composer error log

 Your requirements could not be resolved to an installable set of packages. 
 
   Problem 1
     - sebastian/comparator[2.0.0, ..., 2.1.3] require php ^7.0 -> your php version (8.2.16) does not satisfy that requirement.
     - sebastian/comparator[3.0.0, ..., 3.0.2] require php ^7.1 -> your php version (8.2.16) does not satisfy that requirement.
     - sebastian/comparator[4.0.0, ..., 4.0.2] require php ^7.3 -> your php version (8.2.16) does not satisfy that requirement.
     - Root composer.json requires lodash-php/lodash-php ^0.09 -> satisfiable by lodash-php/lodash-php[0.09].
     - lodash-php/lodash-php 0.09 requires sebastian/comparator ^1.2 | ^2.0 | ^2.1 | ^3.0 | ^4.0 | ^5.0 -> satisfiable by sebastian/comparator[1.2.0, ..., 1.2.x-dev, 2.0.0, ..., 2.1.3, 3.0.0, ..., 3.0.x-dev, 4.0.0, ..., 4.0.x-dev, 5.0.0, 5.0.1, 5.0.x-dev].
     - You can only install one version of a package, so only one of these can be installed: sebastian/comparator[1.2.0, ..., 1.2.x-dev, 2.0.0, ..., 2.1.3, 3.0.0, ..., 3.0.x-dev, 4.0.0, ..., 4.0.x-dev, 5.0.0, 5.0.1, 5.0.x-dev, 6.0.0, 6.0.x-dev].
     - phpunit/phpunit[11.0.0, ..., 11.2.x-dev] require sebastian/comparator ^6.0 -> satisfiable by sebastian/comparator[6.0.0, 6.0.x-dev].
     - Root composer.json requires phpunit/phpunit ^11.0 -> satisfiable by phpunit/phpunit[11.0.0, ..., 11.2.x-dev].
 
 Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

"sebastian/comparator": "^1.2 | ^2.0 | ^2.1 | ^3.0 | ^4.0 | ^5.0",

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