Closed (fixed)
Project:
Drupal core
Version:
11.x-dev
Component:
phpunit
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
6 Dec 2025 at 17:44 UTC
Updated:
27 Feb 2026 at 17:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #3
mondrakeComment #4
mondrakeReplied inline.
Comment #5
dcam commentedI don't have any feedback. This is a pretty small collection of changes and they're pretty straightforward. The response to the earlier feedback is accurate in my opinion. So, since the tests are still passing with the changes I'm going to set this as RTBC.
Comment #6
mondrakeAaaaand unveiled: Deprecate any() matcher #6461
Comment #7
dcam commentedI've pre-emptively directed people to switch to stubs in one or two reviews over the last couple of weeks so we have fewer to convert later on.
Comment #8
mondrakeThe two blog posts indicated in the upstream issue enlighten about the rationale. Alas, there are about 1.7k calls to
createMock()in current tests, and that means a lot of work ahead...Comment #9
geek-merlinMaybe work for Rector?
Comment #10
needs-review-queue-bot commentedThe Needs Review Queue Bot tested this issue. It no longer applies to Drupal core. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.
Comment #11
mondrakerebased
Comment #13
needs-review-queue-bot commentedThe Needs Review Queue Bot tested this issue. It fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.
Comment #14
mondrakebot fluke
Comment #15
longwaveCommitted and pushed ec6a5fb5aed to main and 57c568c5dd3 to 11.x. Thanks!