By mondrake on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
11.2.x
Introduced in version:
11.2.0
Issue links:
Description:
PHPUnit 11 can now be used for testing. While the shipped version remains PHPUnit 10, it's possible to update to PHPUnit via composer update phpunit/phpunit --with-dependencies.
Drupal core testing on PHP 8.4 requires PHPUnit 11 as a minimum, and automatically updates the version in the GitLab test runs.
Note that until #3497431: Deprecate TestDiscovery test file scanning, use PHPUnit API instead is committed, using test attributes introduced in PHPUnit 10 (replacing test annotations) is not yet fully supported.
Impacts:
Module developers
Site templates, recipes and distribution developers