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:30:47 +0000 (15:30 +0200)
This conflicts with phpcbf.

.php-cs-fixer.dist.php

index fd652579b00417a1b434d9a862bc5d97f55a02a8..60d7da8b007a90ea716844c2b5aaf33f32b138a2 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,