diff --git a/src/Laravel.php b/src/Laravel.php index 1483956..af56e97 100644 --- a/src/Laravel.php +++ b/src/Laravel.php @@ -112,7 +112,7 @@ public function __construct() 'not_operator_with_successor_space' => true, 'object_operator_without_whitespace' => true, 'ordered_imports' => [ - 'sort_algorithm' => 'length', + 'sort_algorithm' => 'alpha', ], 'phpdoc_indent' => true, 'phpdoc_inline_tag' => true, diff --git a/src/Recommended.php b/src/Recommended.php index fa67fae..ff6d6c1 100644 --- a/src/Recommended.php +++ b/src/Recommended.php @@ -99,7 +99,7 @@ public function __construct() 'normalize_index_brace' => true, 'object_operator_without_whitespace' => true, 'ordered_imports' => [ - 'sortAlgorithm' => 'alpha', + 'sort_algorithm' => 'alpha', ], 'phpdoc_align' => true, 'phpdoc_indent' => true,