Deprecate Psr7RequestValueResolver::supports and RouteMatchValueResolver::supports

Created on 26 August 2023, over 1 year ago
Updated 28 August 2023, over 1 year ago

Problem/Motivation

In ๐Ÿ“Œ Replace implementing deprecated interface Symfony\Component\HttpKernel\Controller\ArgumentValueResolverInterface with ValueResolverInterface Fixed we removed Symfony\Component\HttpKernel\Controller\ArgumentValueResolverInterface from the implements of \Drupal\Core\Controller\ArgumentResolver\Psr7RequestValueResolver and
\Drupal\Core\Controller\ArgumentResolver\RouteMatchValueResolver.

This means that the supports() function in both resolvers is now cruft, since it was only there to fulfil the contract from Symfony\Component\HttpKernel\Controller\ArgumentValueResolverInterface.

@catch in #3383339-10: Replace implementing deprecated interface Symfony\Component\HttpKernel\Controller\ArgumentValueResolverInterface with ValueResolverInterface โ†’ :

However, do we need a follow-up to deprecate and then remove methods like Psr7RequestValueResolver::supports() in 11.x? Should be cruft now.

This issue is for deprecating both supports()s.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

๐Ÿ“Œ Task
Status

Fixed

Version

11.0 ๐Ÿ”ฅ

Component
Baseย  โ†’

Last updated about 3 hours ago

Created by

๐Ÿ‡ณ๐Ÿ‡ฑNetherlands spokje

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024