Skip to content

Commit 3a53a25

Browse files
committed
Remove duplicated block
1 parent 9a72ca8 commit 3a53a25

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

setup/upgrade_major.rst

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -152,29 +152,17 @@ starting with ``symfony/`` to the new major version:
152152
"...": "...",
153153
}
154154
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-
168155
At the bottom of your ``composer.json`` file, in the ``extra`` block you can
169156
find a data setting for the Symfony version. Make sure to also upgrade
170157
this one. For instance, update it to ``5.0.*`` to upgrade to Symfony 5.0:
171158

172-
.. code-block:: json
159+
.. code-block:: diff
173160
174161
"extra": {
175162
"symfony": {
176163
"allow-contrib": false,
177-
"require": "5.0.*"
164+
- "require": "4.4.*"
165+
+ "require": "5.0.*"
178166
}
179167
}
180168

0 commit comments

Comments
 (0)