Remove support for PHPUnit 10

Created on 21 July 2025, 3 months ago

Problem/Motivation

Placeholder to remove PHPUnit 10 when the right time comes.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

📌 Task
Status

Active

Version

11.0 🔥

Component

phpunit

Created by

🇮🇹Italy mondrake 🇮🇹

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @mondrake
  • Following up from 🐛 Can't update to 11.2.0 Active here: with PHP10 support removed, consider restoring the core-recommended composer.json constraint on sebastian/diff.

  • Merge request !13167#3537104 remove phpunit 10 support → (Open) created by mondrake
  • Pipeline finished with Success
    about 2 months ago
    Total: 709s
    #590679
  • 🇮🇹Italy mondrake 🇮🇹

    Not sure about #2. If we readd here, we may need to remove again in a few months while adjusting for PHPUnit 12.

  • 🇬🇧United Kingdom longwave UK

    I asked in #maintainers in Slack, and those who responded were largely unaware that we had moved to PHPUnit 11 even, but their code was still working fine, or they had had to make minimal changes. I think we should give it a few more days but it seems so far that dropping PHPUnit 10 support won't be a problem even though it is technically a BC break.

    I will credit those who contributed to the discussion.

  • The Needs Review Queue Bot tested this issue. It no longer applies to Drupal core. Therefore, this issue status is now "Needs work".

    This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.

    Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.

  • 🇮🇹Italy mondrake 🇮🇹

    rebased

  • Pipeline finished with Success
    about 1 month ago
    Total: 475s
    #594159
  • Pipeline finished with Success
    about 1 month ago
    Total: 466s
    #600219
  • Pipeline finished with Success
    about 1 month ago
    Total: 465s
    #602216
  • Pipeline finished with Failed
    20 days ago
    Total: 145s
    #614043
  • Pipeline finished with Success
    20 days ago
    Total: 475s
    #614059
  • Pipeline finished with Success
    12 days ago
    Total: 918s
    #622063
  • Pipeline finished with Success
    11 days ago
    Total: 814s
    #623135
  • Status changed to Needs work 11 days ago
  • Pipeline finished with Success
    11 days ago
    Total: 1396s
    #623243
  • Pipeline finished with Success
    11 days ago
    Total: 640s
    #623358
  • Pipeline finished with Success
    10 days ago
    Total: 1101s
    #624433
  • Pipeline finished with Success
    10 days ago
    Total: 813s
    #624859
  • Pipeline finished with Success
    7 days ago
    Total: 601s
    #626909
  • Pipeline finished with Success
    3 days ago
    Total: 504s
    #631573
Production build 0.71.5 2024