diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index 97b1078e..6ae08353 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -26,6 +26,10 @@ return (new Config()) 'no_unused_imports' => true, 'no_whitespace_before_comma_in_array' => true, 'object_operator_without_whitespace' => true, + 'ordered_imports' => [ + 'imports_order' => ['class', 'function', 'const'], + 'sort_algorithm' => 'alpha', + ], 'single_quote' => true, 'trailing_comma_in_multiline' => [ 'elements' => ['arrays'],