Upgrading phpunit/phpcov 8 to 9
Breaking8.2.1 → 9.0.2Platform1Changed1
BreakingUpgrade verdict
A platform requirement change.
In plain terms
- This version no longer runs on PHP 7.3, 7.4, or 8.0, so you need a newer PHP to use it.
Must act 1 item needs code or config changes
PHP requirement changed in 9.0.0: >=7.3 → >=8.1.
Moves phpunit/php-code-coverage ^9.2 → ^10.1.5, phpunit/php-file-iterator ^3.0 → ^4.0, phpunit/phpunit ^9.3 → ^10.0, sebastian/cli-parser ^1.0 → ^2.0, sebastian/diff ^4.0 → ^5.0, sebastian/version ^3.0 → ^4.0. Your build may pick other versions.
What you must change
Platform1
Drops support for PHP 7.3, PHP 7.4, and PHP 8.0.
API changes
Generated by DepDelta from published PHP source. Not mixed with prose notes.
- removed:
method Arguments.processUncovered(): bool - removed:
protected method Command.handleFilter(CodeCoverage $coverage, Arguments $arguments): void - changed:
constructor Arguments(?string $command, ?string $script, ?string $directory, ?string $coverage, ?string $patch, ?string $configuration, array $include, bool $pathCoverage, bool $addUncovered, bool $processUncovered, ?string $clover, ?string $cobertura, ?string $crap4j, ?string $html, ?string $php, ?string $text, ?string $xml, ?string $pathPrefix, bool $help, bool $version) → constructor Arguments(?string $command, ?string $script, ?string $directory, ?string $coverage, ?string $patch, ?string $configuration, array $include, bool $pathCoverage, bool $addUncovered, ?string $clover, ?string $cobertura, ?string $crap4j, ?string $html, ?string $php, ?string $text, ?string $xml, ?string $pathPrefix, bool $help, bool $version)