Symfony has deprecated \Symfony\Component\HttpKernel\Controller\ControllerResolverInterface::getArguments().
Since Drupal 8.6 The controller_resolver service should be replaced by http_kernel.controller.argument_resolver.
Patch attached fixes this.
Change record: https://www.drupal.org/node/2959408
| Comment | File | Size | Author |
|---|---|---|---|
| replace-controller_resolver_with_argument_resolver.patch | 4.59 KB | jeroent |
Comments
Comment #2
jeroentComment #3
jeroentComment #4
rosinegrean commentedComment #5
idebr commentedPatch applies cleanly and resolves all occurrences of the deprecation notice.
Comment #6
joelpittetSince this change happened in 8.6 I'll wait till 8.8 to commit this change.
Comment #7
kristen polPer a Slack discussion with Gábor Hojtsy regarding usage of D9 tags (Drupal 9, Drupal 9 compatibility, Drupal 9 readiness, etc.), "Drupal 9 compatibility" should be used for contributed projects that need updating and "Drupal 9" was the old tag for D8 issues before the D9 branch was ready. Doing tag cleanup here based on that discussion.
Comment #9
joelpittetCommitted to dev for the next release, thanks for doing this!