Closed (fixed)
Project:
Drupal core
Version:
main
Component:
phpunit
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
17 Mar 2026 at 19:05 UTC
Updated:
2 Apr 2026 at 15:30 UTC
Jump to comment: Most recent
Comments
Comment #3
dcam commentedComment #4
smustgrave commentedAjax = 0
Authentication = 0
Block = still get 6, for example
Breadcrumb = 0
Condition = 0
Controller = still get 1
Cron = 0
DependencyInjection = 0
Appears to just be the 2 mentioned components
Comment #5
dcam commentedThank you for pointing those out. I need to be more diligent about checking for notices covered by other MRs and making note of them.
As discussed in Slack, the remaining notices are caused by functions in
UnitTestCase. They are covered by the changes in #3578904: Convert expectation-less test mocks to stubs - UnitTestCase. When I run the tests without the #3578904 changes I get the same notices. If I include the #3578904 changes, then I get no notices.Comment #6
smustgrave commentedApplying that MR block and controller are all clear.
Comment #7
smustgrave commentedComment #8
catchThis looks fine, the dummy expectations are slightly odd but no worse than what we have now, so I think it's fine to unblock phpunit 12.
Needs a rebase.
Comment #9
dcam commentedRebased
Comment #11
catchCommitted/pushed to main, thanks!