Skip to content

Commit 6272e16

Browse files
committed
Use available option of phpdoc_order
1 parent 8210282 commit 6272e16

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Ruleset/Nexus74.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ public function __construct()
437437
'phpdoc_no_empty_return' => false,
438438
'phpdoc_no_package' => true,
439439
'phpdoc_no_useless_inheritdoc' => true,
440-
'phpdoc_order' => true,
440+
'phpdoc_order' => ['order' => ['param', 'return', 'throws']],
441441
'phpdoc_order_by_value' => [
442442
'annotations' => [
443443
'author',

src/Ruleset/Nexus80.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ public function __construct()
437437
'phpdoc_no_empty_return' => false,
438438
'phpdoc_no_package' => true,
439439
'phpdoc_no_useless_inheritdoc' => true,
440-
'phpdoc_order' => true,
440+
'phpdoc_order' => ['order' => ['param', 'return', 'throws']],
441441
'phpdoc_order_by_value' => [
442442
'annotations' => [
443443
'author',

src/Ruleset/Nexus81.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ public function __construct()
437437
'phpdoc_no_empty_return' => false,
438438
'phpdoc_no_package' => true,
439439
'phpdoc_no_useless_inheritdoc' => true,
440-
'phpdoc_order' => true,
440+
'phpdoc_order' => ['order' => ['param', 'return', 'throws']],
441441
'phpdoc_order_by_value' => [
442442
'annotations' => [
443443
'author',

0 commit comments

Comments
 (0)