From dd0f4fc4009adb0f1c155a9d19253c50317dcbc2 Mon Sep 17 00:00:00 2001 From: Oleg Kozlov Date: Sat, 2 Dec 2023 13:53:22 +0300 Subject: [PATCH] Make use alpha sort algorithm in phpdoc types order --- src/Config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Config.php b/src/Config.php index 7bcd495..c4d6456 100644 --- a/src/Config.php +++ b/src/Config.php @@ -81,7 +81,7 @@ protected function getDefaultRules(): array 'ignored_tags' => ['todo', 'noinspection', 'psalm-suppress'], ], 'phpdoc_types_order' => [ - 'sort_algorithm' => 'none', + 'sort_algorithm' => 'alpha', 'null_adjustment' => 'always_last', ], ];