@@ -35,7 +35,7 @@ safely by running:
35
35
36
36
$ composer update
37
37
38
- But beware. If you have some bad version constraints in your ``composer.json ``,
38
+ But beware. If you have some bad ` version constraints `_ in your ``composer.json ``,
39
39
(e.g. ``dev-master ``), then this could upgrade some non-Symfony libraries
40
40
to new versions that contain backwards-compatibility breaking changes.
41
41
@@ -83,11 +83,17 @@ Next, use Composer to download new versions of the libraries:
83
83
84
84
$ composer update symfony/symfony
85
85
86
- Updating a minor version like this should *not * cause any dependency issues,
87
- though it's always possible that an outside library or bundle you're using
88
- didn't support this new version of Symfony at the version you have of that
89
- library. In that case, consult the library: you may need to modify its version
90
- in ``composer.json `` and run a full ``composer update ``.
86
+ You may also want to upgrade the rest of your libraries. If you've done a
87
+ good job with your version constraints in ``composer.json ``, you can do this
88
+ safely by running:
89
+
90
+ .. code-block :: bash
91
+
92
+ $ composer update
93
+
94
+ But beware. If you have some bad `version constraints `_ in your ``composer.json ``,
95
+ (e.g. ``dev-master ``), then this could upgrade some non-Symfony libraries
96
+ to new versions that contain backwards-compatibility breaking changes.
91
97
92
98
.. _`upgrade-minor-symfony-code` :
93
99
@@ -130,3 +136,5 @@ that you might need to make in your project.
130
136
.. _`UPGRADE-2.5` : https://github.com/symfony/symfony/blob/2.5/UPGRADE-2.5.md
131
137
.. _`UPGRADE-2.6` : https://github.com/symfony/symfony/blob/2.6/UPGRADE-2.6.md
132
138
.. _`Symfony Repository` : https://github.com/symfony/symfony
139
+ .. _`Composer Package Versions` : https://getcomposer.org/doc/01-basic-usage.md#package-versions
140
+ .. _`version constraints` : https://getcomposer.org/doc/01-basic-usage.md#package-versions
0 commit comments