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:47:26 +02:00
parent 3f37418c44
commit f82cc93d01
No known key found for this signature in database
GPG key ID: 74BAFF55434DA4B2

View file

@ -15,7 +15,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,
])