From df8e8bac03adb8d7213d351eab165550a23a42b1 Mon Sep 17 00:00:00 2001 From: Roy Duineveld Date: Thu, 19 Oct 2023 15:05:55 +0200 Subject: [PATCH] Duster disabled method ordering --- .php-cs-fixer.dist.php | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .php-cs-fixer.dist.php diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php new file mode 100644 index 000000000..3f5244c71 --- /dev/null +++ b/.php-cs-fixer.dist.php @@ -0,0 +1,20 @@ +setFinder(PhpCsFixer::getFinder()) + ->setUsingCache(false) + ->registerCustomFixers([ + new CustomControllerOrderFixer(), + new CustomOrderedClassElementsFixer(), + new CustomPhpUnitOrderFixer(), + ]) + ->setRules([ + 'Tighten/custom_controller_order' => true, + 'Tighten/custom_phpunit_order' => true, + ]);