Skip to content

Commit 1367a76

Browse files
committed
Add order option to phpdoc_order
See codeigniter4/CodeIgniter4#6515
1 parent 5d5a5cc commit 1367a76

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/CodeIgniter4.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -402,8 +402,10 @@ public function __construct()
402402
'phpdoc_no_empty_return' => false,
403403
'phpdoc_no_package' => true,
404404
'phpdoc_no_useless_inheritdoc' => true,
405-
'phpdoc_order' => true,
406-
'phpdoc_order_by_value' => [
405+
'phpdoc_order' => [
406+
'order' => ['param', 'return', 'throws'],
407+
],
408+
'phpdoc_order_by_value' => [
407409
'annotations' => [
408410
'author',
409411
'covers',

0 commit comments

Comments
 (0)