no_superfluous_phpdoc_tags=true is too agressive. Some "superfluous" phpdoc tags are extremely useful for IDE type hinting.

This commit is contained in:
Greyscale 2022-09-12 00:46:21 +02:00
parent 9894f68a6b
commit 162e4ea1ea
No known key found for this signature in database
GPG key ID: 74BAFF55434DA4B2
2 changed files with 2 additions and 2 deletions

View file

@ -14,7 +14,7 @@ return (new PhpCsFixer\Config)
'no_php4_constructor' => true,
'no_unused_imports' => true,
'no_useless_else' => true,
'no_superfluous_phpdoc_tags' => true,
'no_superfluous_phpdoc_tags' => false,
'void_return' => true,
'yoda_style' => false,
])

View file

@ -14,7 +14,7 @@ return (new PhpCsFixer\Config)
'no_php4_constructor' => true,
'no_unused_imports' => true,
'no_useless_else' => true,
'no_superfluous_phpdoc_tags' => true,
'no_superfluous_phpdoc_tags' => false,
'void_return' => true,
'yoda_style' => false,
])