format/comments/align-multiline
Not in any preset. Safe fix.
What it does
Each line of multi-line DocComments must have an asterisk [PSR-5] and must be aligned with the first one.
Configuration
[format.rules]
"comments/align-multiline" = true
To skip it in some files, add a @pun-ignore-file comment.
Options
| Name | Type | Allowed values | Default | Upstream name |
|---|---|---|---|---|
comment-type |
enum |
phpdocs-only, phpdocs-like, all-multiline |
"phpdocs-only" |
comment_type |
Replaces
align_multiline_comment(php-cs-fixer)