Change record status: 
Project: 
Introduced in branch: 
11.3.x
Introduced in version: 
11.3.0
Description: 

Framework support for testing with PHPUnit 10 is removed.

Core and contrib can only run tests with PHPUnit 11.

Test classes using annotation metadata still work under PHPUnit 11, but throw PHPUnit deprecations that lead to CI job failures if appropriately set up. It is strongly recommended to convert annotations to attributes as described in Tests with PHPUnit 10 attributes are now supported.

Drupal 11 core has completed migration of tests from annotation to attributes in #3535662: [meta] Convert test metadata from annotations to attributes.

Support for annotation metadata will be only completely removed in PHPUnit 12. However, it is possible that preparation issues to support it during Drupal 11 lifecycle may lead to the testing framework stop working properly if annotations are still in use.

Impacts: 
Module developers
Site templates, recipes and distribution developers