Skip to content

Commit 965430d

Browse files
committed
DX: PHP CS Fixer - allow for no_superfluous_phpdoc_tags.allow_unused_params
1 parent 98b2913 commit 965430d

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)