Skip to content

Upgrading phpunit/php-code-coverage 5 to 6

Breaking5.3.2 → 6.1.4Breaking3Platform1New1Changed9Fixed8

BreakingUpgrade verdict

3 breaking changes and a platform requirement change.

  • Coverage can no longer be collected under HHVM.
  • Support code for Hack-only syntax is gone.
  • Most classes can no longer be extended by your own code.
  • You must run PHP 7.1 or newer.
4 items need code or config changes

PHP requirement changed in 6.0.0: ^7.0 → ^7.1.

Breaking3
Removes the HHVM driver.
Removes code specific to Hack language constructs.
Almost all classes are now final.
Platform1
Drops support for PHP 7.0.