Skip to content

Commit 83abfc1

Browse files
authored
cs: Fix the configuration of PHP-CS-Fixer (#32)
1 parent dc4213b commit 83abfc1

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.php-cs-fixer.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,13 @@
2828
),
2929
));
3030

31-
$config = new FidryConfig($header, 81_000);
31+
$config = new FidryConfig($header, 83_000);
32+
$config->addRules([
33+
// TODO: see if this rule can be removed once bumping to Symfony 7+
34+
'no_superfluous_phpdoc_tags' => false,
35+
'phpdoc_no_empty_return' => false,
36+
'void_return' => false,
37+
]);
3238
$config->setCacheFile(__DIR__.'/var/.php-cs-fixer.cache');
3339

3440
return $config->setFinder($finder);

0 commit comments

Comments
 (0)