format/phpdoc/order
In the format-laravel preset. Safe fix.
What it does
Annotations in PHPDoc should be ordered in defined sequence.
Configuration
[format.rules]
"phpdoc/order" = true
To skip it in some files, add a @pun-ignore-file comment.
Options
| Name | Type | Allowed values | Default | Upstream name |
|---|---|---|---|---|
order |
list |
Any | ["param", "throws", "return"] |
order |
Replaces
phpdoc_order(php-cs-fixer)