Closed (fixed)
Project:
Drupal core
Version:
main
Component:
system.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
23 Feb 2026 at 15:52 UTC
Updated:
24 Mar 2026 at 14:10 UTC
Jump to comment: Most recent
Child of #3529510: [meta] Add return types to test traits
Adding return types to AssertPageCacheContextsAndTagsTrait will remove 6 x 41 entries from the PHPStan baseline.
Start 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
longwaveOut of scope but this should probably be changed to void as well.
Comment #4
longwaveComment #5
smustgrave commentedWow so many rough reviews :)
LGTM!
Comment #6
godotislateTwo test failures, look to be random though.
Comment #7
smustgrave commentedThat's on me, I saw javascript and immediately assumed. Am re-running it.
Comment #8
smustgrave commentedYup random!
Comment #9
catchNeeds a rebase.
Comment #10
longwaveRebased.
Comment #11
godotislateLooks like the baseline needs updating.
Comment #14
catchHad to rebuild the baseline again due to some shortcut test moves, but easy enough to do locally.
Committed/pushed to main, thanks!