Closed (fixed)
Project:
Drupal core
Version:
11.x-dev
Component:
install system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
8 Jan 2025 at 00:56 UTC
Updated:
29 Jan 2025 at 01:24 UTC
Jump to comment: Most recent
Comments
Comment #3
mstrelan commentedComment #4
hetal.solanki@mstrelan
MR looks good moving to RTBC.
Thank You!!
Comment #5
hetal.solankiComment #6
quietone commentedThis too needs a rebase
Comment #8
shalini_jha commentedRebased this and resolved conflicts. However, after running the command:
grep "_requirements\\\\.* has no return type specified" core/.phpstan-baseline.php
I noticed that two additional entries are still listed:
I’m unsure if we also need to update these?
Comment #9
nicxvan commentedNo, those are not hooks, they cannot be updated here.
Comment #10
shalini_jha commentedThank you for the confirmation. Since everything is addressed, I am moving this to Needs Review.
Comment #11
nicxvan commentedComment #12
berdirIs it really worth doing this when we are in the middle of changing all hook_requirements() implementations anyway?
Comment #13
nicxvan commentedSure why not, we did it for all of the other hooks, at the minimum it means you don't have to manage phpstan when converting them which is nice.
Comment #15
quietone commentedApplied the diff and regenerated the baseline. That results in finding 2 instances but they are not hooks.
Comment #16
quietone commentedCommitted a0503e2 and pushed to 11.x. Thanks!