Closed (fixed)
Project:
Drupal core
Version:
10.0.x-dev
Component:
base system
Priority:
Critical
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
17 Sep 2021 at 09:12 UTC
Updated:
27 Dec 2021 at 12:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
daffie commentedI could not find any instances where the method was overridden in contrib. See: http://grep.xnddx.ru/search?text=public+function+getController%28Request....
Comment #3
daffie commented"false" in lowercase is not allowed. Changed it to uppercase.
Comment #4
longwaveUnion types are PHP 8 territory.
Comment #5
praveen saini commentedNice addition. Works good to me.
Comment #6
alexpott10.x is not yet open for commits. Going to postpone this so no one commits this to 9.x.y accidentally.
Comment #7
alexpottThere is the option of polyfilling the method in Drupal 9. So we use a different signature for PHP 7 and PHP 8. So we can make D9 Symfony 6 compatible on PHP 8 if we want.
Comment #8
longwaveThis is OK for 10.0.x now.
Comment #10
catchI don't think we need to polyfill here - contrib can update against Drupal 9, and the 10.x branch is open.
Committed/pushed to 10.0.x, thanks!