From c883365a26f5dca0fdf5a46808b65054a64a330b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=9D=99?= Date: Thu, 18 Nov 2021 11:16:26 +0800 Subject: [PATCH] Update .php-cs-fixer.dist.php --- .php-cs-fixer.dist.php | 4 ++++ 1 file changed, 4 insertions(+) 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'],