Skip to content

Commit 55360ea

Browse files
committed
Merge branch '6.1' into 6.2
* 6.1: Update upgrade_major.rst
2 parents 544fe87 + 4975898 commit 55360ea

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

setup/upgrade_major.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -287,10 +287,10 @@ Classes in the ``vendor/`` directory are always ignored.
287287
288288
# Add type declarations to all internal, final, tests and private methods.
289289
# Update the "php" parameter to match your minimum required PHP version
290-
$ SYMFONY_DEPRECATIONS_HELPER="force=1&php=7.4" ./vendor/bin/patch-type-declarations
290+
$ SYMFONY_PATCH_TYPE_DECLARATIONS="force=1&php=7.4" ./vendor/bin/patch-type-declarations
291291
292292
# Add PHPDoc to the leftover public and protected methods
293-
$ SYMFONY_DEPRECATIONS_HELPER="force=phpdoc&php=7.4" ./vendor/bin/patch-type-declarations
293+
$ SYMFONY_PATCH_TYPE_DECLARATIONS="force=phpdoc&php=7.4" ./vendor/bin/patch-type-declarations
294294
295295
After running the scripts, check your classes and add more ``@return``
296296
PHPDoc where they are missing. The deprecations and patch script
@@ -308,7 +308,7 @@ Classes in the ``vendor/`` directory are always ignored.
308308
.. code-block:: terminal
309309
310310
# Update the "php" parameter to match your minimum required PHP version
311-
$ SYMFONY_DEPRECATIONS_HELPER="force=2&php=7.4" ./vendor/bin/patch-type-declarations
311+
$ SYMFONY_PATCH_TYPE_DECLARATIONS="force=2&php=7.4" ./vendor/bin/patch-type-declarations
312312
313313
Now, you can safely allow ``^6.0`` for the Symfony dependencies.
314314

0 commit comments

Comments
 (0)