Closed (fixed)
Project:
Drupal core
Version:
11.x-dev
Component:
base system
Priority:
Major
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
25 Feb 2026 at 18:09 UTC
Updated:
25 Mar 2026 at 12:10 UTC
Jump to comment: Most recent
mglaman/phpstan-drupal will now allow PHPStan to parse property hooks https://github.com/mglaman/phpstan-drupal/releases/tag/2.0.11
composer update mglaman/phpstan-drupal phpstan/extension-installer phpstan/phpstan phpstan/phpstan-deprecation-rules phpstan/phpstan-phpunitcomposer update --lockStart within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
mondrakeComment #4
smustgrave commentedLGTM
Comment #5
longwaveMerge conflict, if this gets rebased and I see it I will try to get it in ASAP. We will likely need separate MRs for main and 11.x as well.
Comment #6
mondrakeRebased for
main.Comment #7
mondrakePipeline creation fails, though :(
Comment #9
mondrakeMR !15059 is for 11.x
Weird error reported by PHPStan though:
We're well above PHP 8 so I think this could be a PHPStan bug.
Just added a variable and silenced the counterpart PHPCS error in 11.x.
MR!14912 is for main, and has a JStest failure seemingly unrelated.
Comment #12
longwaveCommitted and pushed to main and 11.x, thanks!