Skip to content

#11627 Minor/Patch version fix #11635

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 1, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 16 additions & 3 deletions setup/upgrade_minor.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ There are two steps to upgrading a minor version:
1) Update the Symfony Library via Composer
------------------------------------------

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

.. code-block:: json

Expand All @@ -42,6 +43,18 @@ check that the version constrains of your Symfony dependencies are like this:
"...": "...",
}

At the bottom of your ``composer.json`` file, in the `extra`` block you can
find a data setting for the symfony version. Make sure to also upgrade
this one.

.. code-block:: json
"extra": {
"symfony": {
"allow-contrib": false,
"require": "4.3.*"
}
}

Next, use Composer to download new versions of the libraries:

.. code-block:: terminal
Expand Down