format/operators/linebreak
Not in any preset. Safe fix.
What it does
Operators - when multiline - must always be at the beginning or at the end of the line.
Configuration
[format.rules]
"operators/linebreak" = true
To skip it in some files, add a @pun-ignore-file comment.
Options
| Name | Type | Allowed values | Default | Upstream name |
|---|---|---|---|---|
only-booleans |
bool |
Any | false |
only_booleans |
position |
enum |
beginning, end |
"beginning" |
position |
Replaces
operator_linebreak(php-cs-fixer)