Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d423e58

Browse files
committed
tweaks thanks to review
1 parent 036532c commit d423e58

File tree

2 files changed

+14
-7
lines changed

2 files changed

+14
-7
lines changed

setup/upgrade_major.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ When the major version is released (e.g. 5.0.0), all deprecated features and
3434
functionality are removed. So, as long as you've updated your code to stop
3535
using these deprecated features in the last version before the major (e.g.
3636
``4.4.*``), you should be able to upgrade without a problem. That means that
37-
you should first :doc:`upgrade to the last minor version</setup/upgrade_minor>`
37+
you should first :doc:`upgrade to the last minor version </setup/upgrade_minor>`
3838
(e.g. 4.4) so that you can see *all* the deprecations.
3939

4040
To help you find deprecations, notices are triggered whenever you end up
@@ -98,7 +98,7 @@ done!
9898
.. sidebar:: Using the Weak Deprecations Mode
9999

100100
Sometimes, you can't fix all deprecations (e.g. something was deprecated
101-
in 3.4 and you still need to support 3.3). In these cases, you can still
101+
in 4.4 and you still need to support 4.3). In these cases, you can still
102102
use the bridge to fix as many deprecations as possible and then allow
103103
more of them to make your tests pass again. You can do this by using the
104104
``SYMFONY_DEPRECATIONS_HELPER`` env variable:

setup/upgrade_minor.rst

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,17 @@ These documents can also be found in the `Symfony Repository`_.
9494
3) Updating Recipes
9595
-------------------
9696

97-
Over time - and especially when you upgrade to a new version of a library, an
98-
updating version of the :ref:`recipe <recipes-description>` may be available.
97+
Over time - and especially when you upgrade to a new version of a library - an
98+
updated version of the :ref:`recipe <recipes-description>` may be available.
9999
These updates are usually minor - e.g. new comments in a configuration file - but
100100
it's a good idea to update the core Symfony recipes.
101101

102-
Starting in ``symfony/flex`` version 1.6, several commands are available to help
103-
upgrade your recipes:
102+
Symfony Flex provides several commands to help upgrade your recipes. Be sure to
103+
commit any unrelated changes you're working on before starting:
104+
105+
.. versionadded:: 1.6
106+
107+
The recipes commands were introduced in Symfony Flex 1.6.
104108

105109
.. code-block:: terminal
106110
@@ -119,7 +123,10 @@ the latest version of the recipe** which means that **your custom code will be
119123
overridden completely**. After updating a recipe, you need to carefully choose
120124
which changes you want, and undo the rest.
121125

122-
For a detailed example, see the `SymfonyCasts Symfony 5 Upgrade Tutorial`_.
126+
.. admonition:: Screencast
127+
:class: screencast
128+
129+
For a detailed example, see the `SymfonyCasts Symfony 5 Upgrade Tutorial`_.
123130

124131
.. _`Symfony Repository`: https://github.com/symfony/symfony
125132
.. _`UPGRADE-4.4.md`: https://github.com/symfony/symfony/blob/4.4/UPGRADE-4.4.md

0 commit comments

Comments
 (0)