|
4 | 4 | Upgrading a Major Version (e.g. 2.7.0 to 3.0.0) |
5 | 5 | =============================================== |
6 | 6 |
|
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. |
11 | 11 |
|
12 | 12 | This means that you can update most of your code before the major release is |
13 | 13 | actually released. This is called making your code *future compatible*. |
@@ -113,6 +113,12 @@ done! |
113 | 113 |
|
114 | 114 | (you can also execute the command like ``SYMFONY_DEPRECATIONS_HELPER=weak phpunit``). |
115 | 115 |
|
| 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 | + |
116 | 122 | .. _upgrade-major-symfony-composer: |
117 | 123 |
|
118 | 124 | 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 |
152 | 158 | Make sure you read the ``UPGRADE-X.0.md`` (where X is the new major version) |
153 | 159 | included in the Symfony repository for any BC break that you need to be aware |
154 | 160 | of. |
| 161 | + |
| 162 | +.. _`Symfony-Upgrade-Fixer`: https://github.com/umpirsky/Symfony-Upgrade-Fixer |
0 commit comments