Commit 5afc362
committed
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/annotations1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
0 commit comments