Make PHPStan rule testing use PHPUnit 11

Created on 1 August 2024, 5 months ago

Problem/Motivation

PHPStan rule testing for Drupal provided rules is running on PHPUnit 10.

Steps to reproduce

Bump to PHPUnit 11.

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 

Last updated about 18 hours ago

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
  • Merge request !9011Closes #3465125 → (Open) created by mondrake
  • 🇮🇹Italy mondrake 🇮🇹
  • Status changed to Needs review 5 months ago
  • 🇮🇹Italy mondrake 🇮🇹

    While this is doable with a one-line change, and works (this test is totally decoupled from core ones), I am unsure about doing it now. Maybe we should wait overall switch to PHPUnit 11?

  • Pipeline finished with Success
    5 months ago
    Total: 611s
    #240120
  • Status changed to RTBC 5 months ago
  • 🇺🇸United States smustgrave

    Seems straight forward.

  • Pipeline finished with Success
    5 months ago
    #246817
  • Status changed to Postponed 5 months ago
  • 🇬🇧United Kingdom catch

    I agree with #4 - while I don't think we need a circular dependency with the rest of core testing getting onto phpunit 11, let's commit this when we're closer to having the other blockers done. Postponing for now, but great to know this is a one-liner.

  • Status changed to Closed: duplicate 7 days ago
  • 🇮🇹Italy mondrake 🇮🇹

    This will be fixed in 🌱 [meta] Support PHPUnit 11 in Drupal 10 Postponed .

Production build 0.71.5 2024