PHPUnit Compatibility and WordPress Versions

Changes to supported PHPUnit versions have been as followed:

  • In WordPress 4.4: Added support for PHPUnit 5 was added on PHPPHP The web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 7.0.
  • In WordPress 4.7: Added support for PHPUnit 6 on PHP 7.0 and 7.1.
  • In WordPress 5.1: Added support for PHPUnit 7 on PHP 7.1, 7.2, and 7.3. PHP 7.0 remains at PHPUnit 6.
  • In WordPress 5.2: Added support for PHPUnit 7 on PHP 7.0, and PHPUnit 5 on PHP 5.6.
  • TracTrac An open source project by Edgewall Software that serves as a bug tracker and project management tool for WordPress. ticketticket Created for both bug reports and feature development on the bug tracker. #46149 aims to add support for PHPUnit 8.
  • Support for PHPUnit 9 is TBD.

Supported Version Chart

WP Version 5.25.35.45.55.67.07.17.27.37.48.0 (unreleased)
5.5 (unreleased)xxxx577777x
5.4xxxx577777x
5.3xxxx577777x
5.2xxxx57777xx
5.13.644446777xx
5.03.644446666xx
4.93.64444666xxx
4.83.6444466xxxx
4.73.6444466xxxx
4.63.644445xxxxx
4.53.644445xxxxx
4.43.644445xxxxx
4.33.64444xxxxxx
4.23.64444xxxxxx
4.13.64444xxxxxx
4.03.6444xxxxxxx
3.93.6444xxxxxxx
3.83.6444xxxxxxx
3.73.6444xxxxxxx

Last updated: