You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minor #14387 Make sure we install FrameworkExtra bundle and not just doctrine/annotations (Nyholm)
This PR was submitted for the 5.x branch but it was merged into the 4.4 branch instead.
Discussion
----------
Make sure we install FrameworkExtra bundle and not just doctrine/annotations
This PR will fix#14203 and revert #14198@javiereguiluz wrote:
> There was a package called annotations-pack (see https://packagist.org/packages/symfony/annotations-pack) which allowed to run composer require annotations (when using Symfony Flex)
This is true. The pack was removed. Currently there is a flex alias to install SensioFrameworkExtraBundle when one run `composer require annotations`. That will make sure to install SensioFrameworkExtraBundle and doctrine/annotations.
One will always need SensioFrameworkExtraBundle to be able to use route config with annotations, only doctrine/annotations is not good enough.
------
People that is not using Flex will see the `Could not find package annotations` as @albuquerque53 saw.
Commits
-------
fa569bd Make sure we install FrameworkExtra bundle and not just doctrine/annotations
0 commit comments