Skip to content

Commit 41104bc

Browse files
committed
Adjust the php-cs-fixer configuration to set the order of the phpdoc tags.
Signed-off-by: Felipe Sayão Lobato Abreu <github@mentordosnerds.com>
1 parent d5431fe commit 41104bc

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.php-cs-fixer.dist.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44

55
$rules = [
66
'phpdoc_indent' => true,
7-
'phpdoc_order' => true,
7+
'phpdoc_order' => [
8+
'order' => ['param', 'return', 'throws'],
9+
],
810
'phpdoc_separation' => true,
911
'phpdoc_trim' => true,
1012
'phpdoc_trim_consecutive_blank_line_separation' => true,

0 commit comments

Comments
 (0)