Closed (fixed)
Project:
Drupal core
Version:
11.3.x-dev
Component:
other
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
20 Nov 2025 at 15:35 UTC
Updated:
15 Jan 2026 at 23:00 UTC
Jump to comment: Most recent
Comments
Comment #3
znerol commentedComment #4
smustgrave commentedVery straight forward.
Comment #5
mstrelan commentedThere are at least two other instances like this:
I wonder if we should fix them here too?
There are a handful of params too:
Setting NR to consider this, feel free to change back if there's a good reason not to fix them all.
Comment #6
znerol commentedComment #7
znerol commentedComment #8
mstrelan commentedThanks for those additions. Before anyone suggests a phpcs rule for this, the real answer is we should be on a reasonable phpstan level where these fail a build. I'm guessing these would be in level 5 or 6.
Comment #9
znerol commentedHad to revert the changes in
core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures. These@varannotations are intentionally invalid.Comment #10
quietone commentedComment #13
quietone commented@znerol, thanks for fixing the test.
Committed to 11.x and cherry-pick to 11.3.x
Thanks!