PHPUnit 9.4.1 just released with one fix of methods with “static” return type (introduced in PHP 8) are not handled correctly by test double code generator. The previous edition added few new features and a change in the config generator including :
- Support for Cobertura XML report format
- Filter based on covered (
@covers
) / used (@uses
) units of code - Convenient custom comparison of objects
The programmer-oriented testing framework for PHP is getting ready for PHP8, what about you ?
Released under an open source license, more information at https://github.com/sebastianbergmann/phpunit