format/phpdoc/separation
In the format-laravel preset. Safe fix.
What it does
Annotations in PHPDoc should be grouped together so that annotations of the same type immediately follow each other. Annotations of a different type are separated by a single blank line.
Configuration
[format.rules]
"phpdoc/separation" = true
To skip it in some files, add a @pun-ignore-file comment.
Options
| Name | Type | Allowed values | Default | Upstream name |
|---|---|---|---|---|
groups |
list-of-lists |
Any | [["author", "copyright", "license"], ["category", "package", "subpackage"], ["property", "property-read", "property-write"], ["deprecated", "link", "see", "since"]] |
groups |
skip-unlisted-annotations |
bool |
Any | false |
skip_unlisted_annotations |
Replaces
phpdoc_separation(php-cs-fixer)