symfony: [6.3.beta1] lint:container command reports errors
Symfony version(s) affected
6.3.beta1
Description
[ERROR] Invalid definition for service "debug.argument_resolver.request_payload": argument 1 of
"Symfony\Component\HttpKernel\Controller\ArgumentResolver\RequestPayloadValueResolver::__construct()" accepts
"Symfony\Component\Serializer\SerializerInterface&Symfony\Component\Serializer\Normalizer\DenormalizerInterface
", "Symfony\Component\Serializer\Serializer" passed.
How to reproduce
bin/console lint:container
Possible Solution
No response
Additional Context
No response
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 19 (19 by maintainers)
Commits related to this issue
- bug #50246 [DependencyInjection] Do not check errored definitions’ type (MatTheCat) This PR was merged into the 5.4 branch. Discussion ---------- [DependencyInjection] Do not check errored definiti... — committed to symfony/symfony by nicolas-grekas a year ago
- bug #50260 [DependencyInjection] Fix dumping/loading errored definitions in XML/Yaml (nicolas-grekas) This PR was merged into the 6.3 branch. Discussion ---------- [DependencyInjection] Fix dumping... — committed to symfony/symfony by nicolas-grekas a year ago
Just to confirm, it’s now OK with BETA3.
Sure, PR updated.
Fixed in #50260, thanks for the report.