8000 Mentioned the "Symfony Upgrade Fixer" in the upgrade article · symfony/symfony-docs@8bdd24b · GitHub
[go: up one dir, main page]

Skip to content

Commit 8bdd24b

Browse files
committed
Mentioned the "Symfony Upgrade Fixer" in the upgrade article
1 parent c72dde0 commit 8bdd24b

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

setup/upgrade_major.rst

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
Upgrading a Major Version (e.g. 2.7.0 to 3.0.0)
55
===============================================
66

7-
Every few years, Symfony releases a new major version release (the first number
8-
changes). These releases are the trickiest to upgrade, as they are allowed to
9-
contain BC breaks. However, Symfony tries to make this upgrade process as
10-
smooth as possible.
7+
Every two years, Symfony releases a new major version release (the first number
8+
changes). These releases are the trickiest to upgrade, as they are allowed break
9+
backwards compatibility. However, Symfony makes this upgrade process as smooth
10+
as possible.
1111

1212
This means that you can update most of your code before the major release is
1313
actually released. This is called making your code *future compatible*.
@@ -113,6 +113,12 @@ done!
113113
114114
(you can also execute the command like ``SYMFONY_DEPRECATIONS_HELPER=weak phpunit``).
115115

116+
.. tip::
117+
118+
Some members of the Symfony Community have developed a tool called
119+
`Symfony-Upgrade-Fixer`_ which fixes some of the most common deprecations
120+
automatically and can save you a lot of work.
121+
116122
.. _upgrade-major-symfony-composer:
117123

118124
2) Update to the New Major Version via Composer
@@ -152,3 +158,5 @@ There is a good chance that you're done now! However, the next major version
152158
Make sure you read the ``UPGRADE-X.0.md`` (where X is the new major version)
153159
included in the Symfony repository for any BC break that you need to be aware
154160
of.
161+
162+
.. _`Symfony-Upgrade-Fixer`: https://github.com/umpirsky/Symfony-Upgrade-Fixer

0 commit comments

Comments
 (0)
0