Problem/Motivation
Follow up from #3614493: Remove BC from RouteProvider::__construct()
I think we should open an issue to see if we can remove the $table_name argument via refactoring the tests and also to make the language manager required.
Steps to reproduce
NA
Proposed resolution
Deprecate $table_name
CR included.
Fix tests that depended out it
Remaining tasks
Implement
User interface changes
NA
Introduced terminology
NA
API changes
NA
Data model changes
NA
Release notes snippet
NA
Issue fork drupal-3614851
Show commands
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 #4
berdirThis is postponed on #3614493: Remove BC from RouteProvider::__construct() otherwise it will heavily conflict with that.
Comment #5
quietone commentedComment #6
velmir_taky commentedRedid this on top of main now that #3614493: Remove BC from RouteProvider::__construct() is in, the old branch was way behind.
$tableName goes the same way $fast_cache did: the 8th argument takes the language manager now, a string still works but triggers a deprecation. Not passing the language manager is deprecated too, like the summary says. The tests just use the router table now. CR:
#3642200: The $tableName argument of RouteProvider::__construct() is deprecated and $languageManager is required
Left MatcherDumper's $table alone, can do it here too if that's preferred.
(AI-assisted, ran the routing tests on mysql, pgsql and sqlite and the full kernel suite on mysql locally)