Skip to content

Commit e4c4856

Browse files
committed
minor symfony#52116 DX: PHP CS Fixer - allow for no_superfluous_phpdoc_tags.allow_unused_params (keradus)
This PR was merged into the 6.4 branch. Discussion ---------- DX: PHP CS Fixer - allow for no_superfluous_phpdoc_tags.allow_unused_params | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | N/A | License | MIT https://cs.symfony.com/doc/rules/phpdoc/no_superfluous_phpdoc_tags.html Commits ------- 965430d DX: PHP CS Fixer - allow for no_superfluous_phpdoc_tags.allow_unused_params
2 parents 7da42f1 + 965430d commit e4c4856

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.php-cs-fixer.dist.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@
3030
'@Symfony:risky' => true,
3131
'protected_to_private' => false,
3232
'native_constant_invocation' => ['strict' => false],
33+
'no_superfluous_phpdoc_tags' => [
34+
'remove_inheritdoc' => true,
35+
'allow_unused_params' => true, // for future-ready params, to be replaced with https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7377
36+
],
3337
'header_comment' => ['header' => $fileHeaderComment],
3438
'modernize_strpos' => true,
3539
'get_class_to_class_keyword' => true,

0 commit comments

Comments
 (0)