From 4390368cf67bb0fd728d27176eb4dfbf217a3672 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20FIDRY?= Date: Sun, 9 Nov 2025 18:05:33 +0100 Subject: [PATCH] cs: Fix the configuration of PHP-CS-Fixer --- .php-cs-fixer.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index 7d2c05a..7ff9e25 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -28,7 +28,13 @@ ), )); -$config = new FidryConfig($header, 81_000); +$config = new FidryConfig($header, 83_000); +$config->addRules([ + // TODO: see if this rule can be removed once bumping to Symfony 7+ + 'no_superfluous_phpdoc_tags' => false, + 'phpdoc_no_empty_return' => false, + 'void_return' => false, +]); $config->setCacheFile(__DIR__.'/var/.php-cs-fixer.cache'); return $config->setFinder($finder);