Skip to content

Upgrading phpunit/phpcov 10 to 11

Breaking10.0.1 → 11.0.4Breaking1Platform1New1

BreakingUpgrade verdict

1 breaking change and a platform requirement change.

  • If you still use PHPUnit 11, you must upgrade PHPUnit before using this version.
  • This version no longer runs on PHP 8.2, so you need a newer PHP release.
2 items need code or config changes

PHP requirement changed in 11.0.0: >=8.2 → >=8.3.

Moves phpunit/php-code-coverage ^11.0.8 → ^12.5.3, phpunit/php-file-iterator ^5.1 → ^6.0.1, phpunit/phpunit ^11.5.1 → ^12.5.9, sebastian/cli-parser ^3.0.2 → ^4.2, sebastian/diff ^6.0.2 → ^7.0, sebastian/version ^5.0.2 → ^6.0. Your build may pick other versions.

Breaking1
Removes support for PHPUnit 11.
Platform1
Drops support for PHP 8.2, requiring a newer PHP version.