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 1
1
Dependency Errors
2
2
~~~~~~~~~~~~~~~~~
3
3
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 :
8
6
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.
10
12
11
13
If this still doesn' t work, your ``composer.json`` file may specify a version
12
14
for 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