diff --git a/src/RuleSet/Php74.php b/src/RuleSet/Php74.php index 2f969f85..11005a47 100644 --- a/src/RuleSet/Php74.php +++ b/src/RuleSet/Php74.php @@ -524,7 +524,13 @@ final class Php74 extends AbstractRuleSet implements ExplicitRuleSet 'phpdoc_no_empty_return' => true, 'phpdoc_no_package' => true, 'phpdoc_no_useless_inheritdoc' => true, - 'phpdoc_order' => true, + 'phpdoc_order' => [ + 'order' => [ + 'param', + 'throws', + 'return', + ], + ], 'phpdoc_order_by_value' => [ 'annotations' => [ 'author', diff --git a/src/RuleSet/Php80.php b/src/RuleSet/Php80.php index fc99ce71..a69d24d5 100644 --- a/src/RuleSet/Php80.php +++ b/src/RuleSet/Php80.php @@ -525,7 +525,13 @@ final class Php80 extends AbstractRuleSet implements ExplicitRuleSet 'phpdoc_no_empty_return' => true, 'phpdoc_no_package' => true, 'phpdoc_no_useless_inheritdoc' => true, - 'phpdoc_order' => true, + 'phpdoc_order' => [ + 'order' => [ + 'param', + 'throws', + 'return', + ], + ], 'phpdoc_order_by_value' => [ 'annotations' => [ 'author', diff --git a/src/RuleSet/Php81.php b/src/RuleSet/Php81.php index a0f051bc..cf26eaf6 100644 --- a/src/RuleSet/Php81.php +++ b/src/RuleSet/Php81.php @@ -526,7 +526,13 @@ final class Php81 extends AbstractRuleSet implements ExplicitRuleSet 'phpdoc_no_empty_return' => true, 'phpdoc_no_package' => true, 'phpdoc_no_useless_inheritdoc' => true, - 'phpdoc_order' => true, + 'phpdoc_order' => [ + 'order' => [ + 'param', + 'throws', + 'return', + ], + ], 'phpdoc_order_by_value' => [ 'annotations' => [ 'author', diff --git a/test/Unit/RuleSet/Php74Test.php b/test/Unit/RuleSet/Php74Test.php index 5a7afa0e..71215e0c 100644 --- a/test/Unit/RuleSet/Php74Test.php +++ b/test/Unit/RuleSet/Php74Test.php @@ -530,7 +530,13 @@ final class Php74Test extends ExplicitRuleSetTestCase 'phpdoc_no_empty_return' => true, 'phpdoc_no_package' => true, 'phpdoc_no_useless_inheritdoc' => true, - 'phpdoc_order' => true, + 'phpdoc_order' => [ + 'order' => [ + 'param', + 'throws', + 'return', + ], + ], 'phpdoc_order_by_value' => [ 'annotations' => [ 'author', diff --git a/test/Unit/RuleSet/Php80Test.php b/test/Unit/RuleSet/Php80Test.php index 0110b655..77a60015 100644 --- a/test/Unit/RuleSet/Php80Test.php +++ b/test/Unit/RuleSet/Php80Test.php @@ -531,7 +531,13 @@ final class Php80Test extends ExplicitRuleSetTestCase 'phpdoc_no_empty_return' => true, 'phpdoc_no_package' => true, 'phpdoc_no_useless_inheritdoc' => true, - 'phpdoc_order' => true, + 'phpdoc_order' => [ + 'order' => [ + 'param', + 'throws', + 'return', + ], + ], 'phpdoc_order_by_value' => [ 'annotations' => [ 'author', diff --git a/test/Unit/RuleSet/Php81Test.php b/test/Unit/RuleSet/Php81Test.php index 41ad3825..8456e473 100644 --- a/test/Unit/RuleSet/Php81Test.php +++ b/test/Unit/RuleSet/Php81Test.php @@ -532,7 +532,13 @@ final class Php81Test extends ExplicitRuleSetTestCase 'phpdoc_no_empty_return' => true, 'phpdoc_no_package' => true, 'phpdoc_no_useless_inheritdoc' => true, - 'phpdoc_order' => true, + 'phpdoc_order' => [ + 'order' => [ + 'param', + 'throws', + 'return', + ], + ], 'phpdoc_order_by_value' => [ 'annotations' => [ 'author',