[meta] Support PHPUnit 10 in Drupal 11

Created on 8 June 2021, over 3 years ago
Updated 2 June 2024, 7 months ago

Problem/Motivation

PHPUnit 10 was released on Febryary 3, 2023. Drupal will need to make changes to support it in future release.

Symfony's PHPUnit bridge is and will not be compatible with PHPUnit 10, and will drop all deprecation tracking features in the future, https://github.com/symfony/symfony/issues/49069

Proposed resolution

There are a number of changes that Drupal will have to address to support PHPUnit 10.

The end of the game: 📌 Upgrade PHPUnit to 10, drop Symfony PHPUnit-bridge dependency Fixed

PHPUnit 9.6 deprecations issues: https://www.drupal.org/project/issues/search?issue_tags=PHPUnit%209.6

Tasks completed

Remaining tasks

  • Ability in Gitlab to run run different phpunit.xml.dist depending on the PHPUnit version being run. Allow testing the upgrade path for listeners and run both versions during the upgrade process.
  • Decision on test suite discovery

Follow ups

🌱 Plan
Status

Fixed

Version

11.0 🔥

Component
PHPUnit 

Last updated about 17 hours ago

Created by

🇬🇧United Kingdom longwave UK

Live updates comments and jobs are added and updated live.
  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024