format/control-flow/continuation-position
In the format-laravel and format-psr12 presets. Safe fix.
What it does
Control structure continuation keyword must be on the configured line.
Configuration
[format.rules]
"control-flow/continuation-position" = true
To skip it in some files, add a @pun-ignore-file comment.
Options
| Name | Type | Allowed values | Default | Upstream name |
|---|---|---|---|---|
position |
enum |
next-line, same-line |
"same-line" |
position |
Replaces
control_structure_continuation_position(php-cs-fixer)