@@ -135,46 +135,34 @@ starting with ``symfony/`` to the new major version:
135
135
"...": "...",
136
136
137
137
"require": {
138
- - "symfony/cache": "4.3 .*",
139
- + "symfony/cache": "4.4 .*",
140
- - "symfony/config": "4.3 .*",
141
- + "symfony/config": "4.4 .*",
142
- - "symfony/console": "4.3 .*",
143
- + "symfony/console": "4.4 .*",
138
+ - "symfony/cache": "4.4 .*",
139
+ + "symfony/cache": "5.0 .*",
140
+ - "symfony/config": "4.4 .*",
141
+ + "symfony/config": "5.0 .*",
142
+ - "symfony/console": "4.4 .*",
143
+ + "symfony/console": "5.0 .*",
144
144
"...": "...",
145
145
146
146
"...": "A few libraries starting with
147
- symfony/ follow their versioning scheme. You
147
+ symfony/ follow their own versioning scheme. You
148
148
do not need to update these versions: you can
149
149
upgrade them independently whenever you want",
150
150
"symfony/monolog-bundle": "^3.5",
151
151
},
152
152
"...": "...",
153
153
}
154
154
155
- Your ``composer.json `` file should also have an ``extra `` block that you will
156
- *also * need to update:
157
-
158
- .. code-block :: diff
159
-
160
- "extra": {
161
- "symfony": {
162
- "...": "...",
163
- - "require": "4.4.*"
164
- + "require": "5.0.*"
165
- }
166
- }
167
-
168
155
At the bottom of your ``composer.json `` file, in the ``extra `` block you can
169
156
find a data setting for the Symfony version. Make sure to also upgrade
170
157
this one. For instance, update it to ``5.0.* `` to upgrade to Symfony 5.0:
171
158
172
- .. code-block :: json
159
+ .. code-block :: diff
173
160
174
161
"extra": {
175
162
"symfony": {
176
163
"allow-contrib": false,
177
- "require" : " 5.0.*"
164
+ - "require": "4.4.*"
165
+ + "require": "5.0.*"
178
166
}
179
167
}
180
168
0 commit comments