Closed (fixed)
Project:
Drupal core
Version:
11.x-dev
Component:
phpunit
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
9 Sep 2025 at 07:05 UTC
Updated:
2 Oct 2025 at 08:19 UTC
Jump to comment: Most recent
Comments
Comment #5
ankitv18 commentedMR is ready for a review.
Comment #6
dwwTrivial MR.
Issue summary and title match the diff.
Pipeline is green, other than the PHP 8.5 warnings.
Tagging to be smashed.
Nothing else to do or improve that I see, unless we want a follow-up to add something to automatically flag further regressions to using the legacy group?
Comment #7
mondrake#6: #3497124: Deprecate expectDeprecation(), use PHPUnit's expectUserDeprecationMessage*() instead will cover that in the sense that after it,
#[Group('legacy')]will just be a group like any other and any deprecation thrown during the test will make the test fail. So I wouldn't do anything additional right now; let's play whackamole when they pop up.Comment #9
catchI think given this was tagged novice it could have been left a couple of days to see if an actual novice picked it up. Good to further unblock PHP 11/12 support though.
Committed/pushed to 11.x, thanks!