lint/dead-code/no-cast-in-concat
In the lint-essential preset and every stricter one. In Rector’s rector/dead-code set. Safe fix.
What it does
Remove (string) casting when it comes to concat, that does this by default
Configuration
[lint.rules]
"dead-code/no-cast-in-concat" = "error"
To skip it in some files or lines, add an override or an ignore comment.
Replaces
RemoveConcatAutocast(rector)