Skip to content

Commit fc94efc

Browse files
JoppeDCwouterj
authored andcommitted
11627 Minor/Patch version fix
According to the docs the composer.json file is setup for automatic minor version upgrades. This is not the case, its setup for patch version upgrades.
1 parent fc996f7 commit fc94efc

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

setup/upgrade_minor.rst

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@ There are two steps to upgrading a minor version:
2121
1) Update the Symfony Library via Composer
2222
------------------------------------------
2323

24-
Your ``composer.json`` file should already be configured to allow your Symfony
25-
packages to be upgraded to minor versions. But, if a package was not upgraded,
26-
check that the version constrains of your Symfony dependencies are like this:
24+
The ``composer.json`` file is configured to allow Symfony packages to be
25+
upgraded to patch versions. But, if you would like the packages to be upgraded
26+
to minor versions, check that the version constrains of the Symfony dependencies
27+
are like this:
2728

2829
.. code-block:: json
2930
@@ -42,6 +43,18 @@ check that the version constrains of your Symfony dependencies are like this:
4243
"...": "...",
4344
}
4445
46+
At the bottom of your ``composer.json`` file, in the `extra`` block you can
47+
find a data setting for the symfony version. Make sure to also upgrade
48+
this one.
49+
50+
.. code-block:: json
51+
"extra": {
52+
"symfony": {
53+
"allow-contrib": false,
54+
"require": "4.3.*"
55+
}
56+
}
57+
4558
Next, use Composer to download new versions of the libraries:
4659

4760
.. code-block:: terminal

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy