format/statements/multiline-semicolon
In the format-laravel preset. Safe fix.
What it does
Forbid multi-line whitespace before the closing semicolon or move the semicolon to the new line for chained calls.
Configuration
[format.rules]
"statements/multiline-semicolon" = true
To skip it in some files, add a @pun-ignore-file comment.
Options
| Name | Type | Allowed values | Default | Upstream name |
|---|---|---|---|---|
strategy |
enum |
no-multi-line, new-line-for-chained-calls |
"no-multi-line" |
strategy |
Replaces
multiline_whitespace_before_semicolons(php-cs-fixer)