File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 11Dependency Errors
22~~~~~~~~~~~~~~~~~
33
4- If you get a dependency error, it may just mean that you *also* need to upgrade
5- that package too. For example, Symfony 2.7 requires a higher version of Twig,
6- so just upgrading ``symfony/symfony`` alone may give you an error. In this
7- case , try adding the package in question to the ``update`` statement:
4+ If you get a dependency error, it may simply mean that you need to upgrade
5+ other Symfony dependencies too. In that case , try the following command :
86
9- $ composer update symfony/symfony twig/twig
7+ $ composer update symfony/ symfony -- with- dependencies
8+
9+ This updates ``symfony/ symfony`` and * all* packages that it depends on,
10+ will include several other packages. By using tight version constraints in
11+ ``composer.json``, you can control what versions each library upgrades to.
1012
1113If this still doesn' t work, your ``composer.json`` file may specify a version
1214for a library that is not compatible with the newer Symfony version. In that
You can’t perform that action at this time.
0 commit comments