Closed (fixed)
Project:
Drupal core
Version:
11.x-dev
Component:
other
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
22 Feb 2026 at 20:48 UTC
Updated:
24 Mar 2026 at 20:05 UTC
Jump to comment: Most recent
Comments
Comment #2
quietone commentedComment #4
longwaveMaybe out of scope here, but what do we think about moving this code to the
\Drupal\Componentnamespace and making it a standalone component? It definitely feels like code that other PHPStan users might want to use, but also we've not really done anything similar with components in the past.Comment #5
mondrake#4 or move it to a separate project entirely? I was thinking phpstan-drupal, but that's too Drupalish anyway.
In Slack I was kinda trying to suggest it could be taken by PHPStan upstream, but I do not think we moved the maintainer...
Would need an issue of its own, I suppose.
Comment #6
mondrakeComment #7
smustgrave commentedOh man please! Sometimes it's straight forward and sometimes it's not
Comment #8
longwaveCommitted and pushed 70bbe3baf91 to main and 8d0478b5687 to 11.x. Thanks!