diff --git a/src/Config.php b/src/Config.php index ed9d0ef..fb37bf2 100644 --- a/src/Config.php +++ b/src/Config.php @@ -46,6 +46,10 @@ public function getRules() : array { 'no_trailing_whitespace' => true, 'no_trailing_whitespace_in_comment' => true, 'no_unused_imports' => true, + 'ordered_imports' => [ + 'imports_order' => ['class', 'function', 'const'], + 'sort_algorithm' => 'alpha' + ], 'single_blank_line_at_eof' => true, 'single_class_element_per_statement' => true, 'single_import_per_statement' => true,