File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -291,10 +291,10 @@ Classes in the ``vendor/`` directory are always ignored.
291
291
292
292
# Add type declarations to all internal, final, tests and private methods.
293
293
# Update the "php" parameter to match your minimum required PHP version
294
- $ SYMFONY_DEPRECATIONS_HELPER ="force=1&php=7.4" ./vendor/bin/patch-type-declarations
294
+ $ SYMFONY_PATCH_TYPE_DECLARATIONS ="force=1&php=7.4" ./vendor/bin/patch-type-declarations
295
295
296
296
# Add PHPDoc to the leftover public and protected methods
297
- $ SYMFONY_DEPRECATIONS_HELPER ="force=phpdoc&php=7.4" ./vendor/bin/patch-type-declarations
297
+ $ SYMFONY_PATCH_TYPE_DECLARATIONS ="force=phpdoc&php=7.4" ./vendor/bin/patch-type-declarations
298
298
299
299
After running the scripts, check your classes and add more ``@return ``
300
300
PHPDoc where they are missing. The deprecations and patch script
@@ -312,7 +312,7 @@ Classes in the ``vendor/`` directory are always ignored.
312
312
.. code-block :: terminal
313
313
314
314
# Update the "php" parameter to match your minimum required PHP version
315
- $ SYMFONY_DEPRECATIONS_HELPER ="force=2&php=7.4" ./vendor/bin/patch-type-declarations
315
+ $ SYMFONY_PATCH_TYPE_DECLARATIONS ="force=2&php=7.4" ./vendor/bin/patch-type-declarations
316
316
317
317
Now, you can safely allow ``^6.0 `` for the Symfony dependencies.
318
318
You can’t perform that action at this time.
0 commit comments