From aedb436a01012872ef96598b8f77b5df92f6788e Mon Sep 17 00:00:00 2001 From: David Buchmann Date: Tue, 20 Nov 2018 17:43:39 +0100 Subject: [PATCH] sync cs-fixer rules with client-common https://github.com/php-http/client-common/pull/120 --- .php_cs.dist | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.php_cs.dist b/.php_cs.dist index 3879e77..21a00e5 100644 --- a/.php_cs.dist +++ b/.php_cs.dist @@ -12,7 +12,12 @@ $finder = PhpCsFixer\Finder::create() ; return PhpCsFixer\Config::create() ->setRules([ - '@Symfony' => true, - 'array_syntax' => ['syntax' => 'short'], + '@PSR2' => true, + '@Symfony' => true, + 'array_syntax' => [ + 'syntax' => 'short', + ], + 'no_empty_phpdoc' => true, + 'no_superfluous_phpdoc_tags' => true, ]) ->setFinder($finder);