Problem/Motivation
#3224523: [PHP 8.1] Add ReturnTypeWillChange attribute where necessary adds PHP annotations to suppress PHP's deprecation notices. We can fix some of these in D9 as they are internal code and others will have to wait till #1158720: Improve text for parameter type hinting in function declaration is worked out.
Proposed resolution
This plan issue will determine which can be fixed in D9 and if there's only a small number be changed to a task and if there are many we will coordinate the sub-tasks here.
Comments
Comment #6
quietone commentedDrupal 9 is EOL, this is outdated. The last instances will be removed in #3425537: Fix remaining methods with #[\ReturnTypeWillChange] attribute