Closed
Description
Symfony version(s) affected
6.1.0
Description
Hello,
I just tried to migrate my Symfony 6.0 to 6.1 and since then I have the following issue:
[Semantical Error] The annotation "@Symfony\Contracts\Service\Attribute\Required" in method Symfony\Bundle\FrameworkBundle\Controller\AbstractController::setContainer() was never imported. Did you maybe forget to add a "use" statement for this annotation?
When I remove "@required" annotation from AbstractController.php file if works properly.
Any ideas on why I have this error suddently raised?
How to reproduce
I'm not sure on how to provide a reproducer...
Possible Solution
No response
Additional Context
No response