Skip to content

Commit aedb436

Browse files
authored
sync cs-fixer rules with client-common
php-http/client-common#120
1 parent c1720f1 commit aedb436

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.php_cs.dist

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,12 @@ $finder = PhpCsFixer\Finder::create()
1212
;
1313
return PhpCsFixer\Config::create()
1414
->setRules([
15-
'@Symfony' => true,
16-
'array_syntax' => ['syntax' => 'short'],
15+
'@PSR2' => true,
16+
'@Symfony' => true,
17+
'array_syntax' => [
18+
'syntax' => 'short',
19+
],
20+
'no_empty_phpdoc' => true,
21+
'no_superfluous_phpdoc_tags' => true,
1722
])
1823
->setFinder($finder);

0 commit comments

Comments
 (0)