phpunit-detailed-printer
phpunit-detailed-printer copied to clipboard
Requirements not defined
We came across this issue because the our library runs unit tests in the CI pipeline on php 7.1 up to php 8.0. When defining the requirement phpunit/phpunit with * it installs what ever is compatible to the current tested php version. But limedeck/phpunit-detailed-printer * always installs version 6.
In fact phpunit is not just a requirement for developement but also for production. In order to solve that every major version needs an update with the requirement of phpunit version.
If you want I can prepare some merge requests.
Please refer to the version compatibility table. We have a major release of our package for every related major PHPUnit release.
It is not about my ability to read it is about the ability of composer to chose the correct version. Defining a dependency as dev-dependency means that this dependency is only required when I develop phpunit-detailed-printer but this version of phpunit is required when I use phpunit-detailed-printer.
here are two example pull requests: #25 #24