From f82cc93d01de91e61887082423c99ce981413f89 Mon Sep 17 00:00:00 2001 From: Matthew Baggett <matthew@baggett.me> Date: Mon, 12 Sep 2022 00:47:26 +0200 Subject: [PATCH] no_superfluous_phpdoc_tags=true is too agressive. Some "superfluous" phpdoc tags are extremely useful for IDE type hinting. --- .php-cs-fixer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index 56cfebf..b08d88a 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -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, ])