Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent installation of
phpunit/php-code-coverage:>9.2.17
Fixes infection#1773 Because of sebastianbergmann/php-code-coverage#953, the current coverage reports used by `infection/infection` are unreliable, and we cannot reliably use them for computing covered mutants in most codebases. This patch introduces a temporary conflict, to be lifted after @Slamdunk's work on sebastianbergmann/php-code-coverage#964 lands in upstream. Quoting original issue: > As mentioned in the title, it would be useful to (temporarily) add `"conflict": {"phpunit/php-code-coverage": ">9.2.17"}` to the constraints of this package. > > The reason: coverage report became massively unreliable for the purposes of mutation testing starting with `phpunit/php-code-coverage:9.2.18`, as reported by @kukulich and acknowledged by @Slamdunk in sebastianbergmann/php-code-coverage#953 > > This is only a temporary measure: @Slamdunk has been talking with me about it, and he's hard at work on it in sebastianbergmann/php-code-coverage#964, which should fix the problem, but which may take more time to land. > > At this moment, many mutation test suites keep going red due to invalid reduced coverage (some packages were even at 100%, and need constant adjustments when `composer.lock` gets changed). > > Therefore, it would be healthy to declare an incompatibility in a new minor release, for now.
- Loading branch information