guzzler icon indicating copy to clipboard operation
guzzler copied to clipboard

Support PHPUnit 12

Open tm1000 opened this issue 10 months ago • 0 comments

PHPUnit 10 introduced support for PHP 8 attributes to add metadata to test classes and test methods. Previously, annotations in special PHP comments called "docblocks" or "doc-comments" were the only way to add metadata to units of code.

In PHPUnit 11, the support for the annotations that can be used in special PHP comments to add metadata to test classes and test methods was deprecated. Support for using annotations has now been removed and you need to migrate your tests from annotations to attributes.

https://phpunit.de/announcements/phpunit-12.html

As a result of this this package should release a version 3.0 since it can only support PHPUnit 12+ going forward (There is a choice to support PHPUnit 11 as well however)

tm1000 avatar Apr 12 '25 02:04 tm1000