Closed (fixed)
Project:
Drupal core
Version:
11.x-dev
Component:
phpunit
Priority:
Major
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
17 Oct 2025 at 09:22 UTC
Updated:
23 Mar 2026 at 19:59 UTC
Jump to comment: Most recent
Comments
Comment #4
mondrakeComment #5
mondrakeComment #6
mondrakeComment #8
mondrakeAdded a separate MR for 11.x - this will be a bit messy as we add deprecations to both main and 11.x and we remove deprecations from main...
Comment #9
godotislateLooking at both main and 11.x MRs, the changes are limited swapping expectDeprecation expectUserDeprecationMessage as expected. Tests are still all passing.
I also pulled down both branches, and searched for "expectDeprecation" case sensitive. The only uses I found were in
ExpectDeprecationTrait(which were, uh, expected), and one string inDrupal\Tests\Component\DrupalComponentTest::assertNoCoreUsage(). I think that can be removed? But it probably doesn't affect much.Comment #10
mondrakeFixed #9, thanks
Comment #11
mondrakeExpectDeprecationTrait is slated for removal in #3550268: Remove deprecated paths from the testing framework.
Comment #12
godotislateChanges in both MRs look good. 11.x MR is passing, main MR looks like intermittent failures. Fine to self RTBC once main passes.
Comment #13
mondrakeAll green after rerunning. Setting to RTBC per #12.
Comment #18
catchCommitted/pushed to main and the respective MR to 11.x, thanks!