Symfony version(s) affected: 5.x
Description
Command fails due to
Class "Doctrine\Common\Cache\CacheProvider" not found while loading "".
How to reproduce
In a minimal Symfony 5.x app with dev dependencies either run bin/console cache:clear || composer require doctrine/annotations (triggers auto scripts in recipe)
Possible Solution
Unknown
Additional context
Bug discovered in MakerBundles dev CI on PHP 7.4 && 8. Appears to be related to doctrine/annotations#404