\Drupal\Core\Controller\ArgumentResolver\RouteMatchValueResolver::supports() and \Drupal\Core\Controller\ArgumentResolver\Psr7RequestValueResolver::supports() are deprecated. There is no direct replacement.
The Symfony framework deprecated interface Symfony\Component\HttpKernel\Controllewr\ArgumentValueResolverInterface since Symfony 6.2.
We therefore removed implementing this interface in \Drupal\Core\Controller\ArgumentResolver\RouteMatchValueResolve) and \Drupal\Core\Controller\ArgumentResolver\Psr7RequestValueResolver. We already implemented its successor ValueResolverInterface in both classes.
With that change the :supports() function in both classes now has become obsolete and is deprecated to be removed.