format/operators/no-useless-concat
Not in any preset. Safe fix.
What it does
There should not be useless concat operations.
Configuration
[format.rules]
"operators/no-useless-concat" = true
To skip it in some files, add a @pun-ignore-file comment.
Options
| Name | Type | Allowed values | Default | Upstream name |
|---|---|---|---|---|
juggle-simple-strings |
bool |
Any | false |
juggle_simple_strings |
Replaces
no_useless_concat_operator(php-cs-fixer)no-redundant-string-concat(mago-linter)