File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -287,10 +287,10 @@ Classes in the ``vendor/`` directory are always ignored.
287
287
288
288
# Add type declarations to all internal, final, tests and private methods.
289
289
# 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
291
291
292
292
# 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
294
294
295
295
After running the scripts, check your classes and add more ``@return ``
296
296
PHPDoc where they are missing. The deprecations and patch script
@@ -308,7 +308,7 @@ Classes in the ``vendor/`` directory are always ignored.
308
308
.. code-block :: terminal
309
309
310
310
# 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
312
312
313
313
Now, you can safely allow ``^6.0 `` for the Symfony dependencies.
314
314
You can’t perform that action at this time.
0 commit comments