Disable `single_line_empty_body`
authorTim Düsterhus <duesterhus@woltlab.com>
Mon, 18 Sep 2023 13:23:32 +0000 (15:23 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Mon, 18 Sep 2023 13:28:11 +0000 (15:28 +0200)
This conflicts with phpcbf.

.php-cs-fixer.dist.php

index f1090d734a404894e68e2c35befb955fefee1040..2132947b4becc7478db583cc8468c5171c7e3c9d 100644 (file)
@@ -7,6 +7,7 @@ return (new PhpCsFixer\Config())
     ->setRiskyAllowed(true)
     ->setRules([
         '@PER-CS2.0' => true,
+        'single_line_empty_body' => false,
 
         'array_push' => true,
         'backtick_to_shell_exec' => true,