Skip to content

Upgrading phpunit/phpcov 11 to 12

Breaking11.0.4 → 12.0.0Breaking1Platform1New1

BreakingUpgrade verdict

1 breaking change and a platform requirement change.

  • If you still use PHPUnit 12, this version of the tool will not work for you.
  • You need a newer version of PHP than 8.3 to use this release.
2 items need code or config changes

PHP requirement changed in 12.0.0: >=8.3 → >=8.4.

Moves phpunit/php-code-coverage ^12.5.3 → ^13.0.1, phpunit/php-file-iterator ^6.0.1 → ^7.0.0, phpunit/phpunit ^12.5.9 → ^13.0.0, sebastian/cli-parser ^4.2 → ^5.0.0, sebastian/diff ^7.0 → ^8.0.0, sebastian/version ^6.0 → ^7.0.0. Your build may pick other versions.

Breaking1
Removes support for PHPUnit 12.
Platform1
Drops support for PHP 8.3, requiring a newer PHP version.