You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wanted to upgrade PHPUnit in one project, but due to phpinsigts (mostly just the specified requirement ranges), it's not possible.
Simplest test case I could come up with is:
$ composer require --dev phpunit/phpunit=^11.0 nunomaduro/phpinsights
./composer.json has been created
Running composer update phpunit/phpunit nunomaduro/phpinsights
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- phpunit/php-file-iterator[3.0.0, ..., 3.0.2] require php ^7.3 -> your php version (8.3.4) does not satisfy that requirement.
- Root composer.json requires phpunit/phpunit ^11.0 -> satisfiable by phpunit/phpunit[11.0.0, ..., 11.1.1].
- cmgmyr/phploc 8.0.3 requires phpunit/php-file-iterator ^3.0|^4.0 -> satisfiable by phpunit/php-file-iterator[3.0.0, ..., 3.0.6, 4.0.0, 4.0.1, 4.0.2, 4.1.0].
- You can only install one version of a package, so only one of these can be installed: phpunit/php-file-iterator[3.0.0, ..., 3.0.6, 4.0.0, 4.0.1, 4.0.2, 4.1.0, 5.0.0].
- nunomaduro/phpinsights v2.11.0 requires cmgmyr/phploc ^8.0.3 -> satisfiable by cmgmyr/phploc[8.0.3].
- phpunit/phpunit[11.0.0, ..., 11.1.1] require phpunit/php-file-iterator ^5.0 -> satisfiable by phpunit/php-file-iterator[5.0.0].
- Root composer.json requires nunomaduro/phpinsights ^2.11 -> satisfiable by nunomaduro/phpinsights[v2.11.0].
Installation failed, deleting ./composer.json.
There is a PR open for the phploc dependency, and as far I can tell, everything else already has compatible versions, so they just need a bump.
The text was updated successfully, but these errors were encountered:
Wanted to upgrade PHPUnit in one project, but due to phpinsigts (mostly just the specified requirement ranges), it's not possible.
Simplest test case I could come up with is:
There is a PR open for the
phploc
dependency, and as far I can tell, everything else already has compatible versions, so they just need a bump.The text was updated successfully, but these errors were encountered: