Closed (fixed)
Project:
Drupal core
Version:
11.x-dev
Component:
block.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
25 Jan 2026 at 00:35 UTC
Updated:
25 Mar 2026 at 13:45 UTC
Jump to comment: Most recent
Comments
Comment #3
dcam commentedComment #4
dcam commentedComment #5
smustgrave commentedApplied the MR and did a search for any() and all instances appear to be replaced. Checked the createMock() that remained (9 instances) and they call specific functions so appear to be valid.
LGTM
Comment #6
dcam commentedNeeds work due to PHPUnit 12.5.11 and a new deprecation.
Comment #7
dcam commentedNew development: stubs cannot set
with(). The IS and MR have been updated.Comment #8
smustgrave commentedAdditional removals LGTM.
Comment #11
longwaveMakes sense to me, including the additional
never()calls.Committed and pushed f72041cd13e to main and a71cbc33547 to 11.x. Thanks!