Skip to content

Commit 521d210

Browse files
committed
minor #48269 [HttpKernel] Remove duplicate+unclear deprecation (nicolas-grekas)
This PR was merged into the 6.2 branch. Discussion ---------- [HttpKernel] Remove duplicate+unclear deprecation | Q | A | ------------- | --- | Branch? | 6.2 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - Spotted during the workshop at SymfonyCon: when a not-updated ArgumentValueResolver is decorated, this currently throws `The "Symfony\Component\HttpKernel\Controller\ArgumentResolver\TraceableValueResolver::supports()" method is deprecated, use "resolve()" instead.`, which is not actionable + is duplicate, since we also trigger `The "EasyCorp\Bundle\EasyAdminBundle\ArgumentResolver\AdminContextResolver" class implements "Symfony\Component\HttpKernel\Controller\ArgumentValueResolverInterface" that is deprecated since Symfony 6.2, implement ValueResolverInterface instead.`. Commits ------- 99fca7b [HttpKernel] Remove duplicate+unclear deprecation
2 parents dd1f8a0 + 99fca7b commit 521d210

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Symfony/Component/HttpKernel/Controller/ArgumentResolver/TraceableValueResolver.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ public function supports(Request $request, ArgumentMetadata $argument): bool
4242
return true;
4343
}
4444

45-
@trigger_deprecation('symfony/http-kernel', '6.2', 'The "%s()" method is deprecated, use "resolve()" instead.', __METHOD__);
46-
4745
$method = \get_class($this->inner).'::'.__FUNCTION__;
4846
$this->stopwatch->start($method, 'controller.argument_value_resolver');
4947

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy