analyse/types/argument-not-stringable
In the analyse-recommended preset and every stricter one. Report only.
Configuration
[analyse.rules]
"types/argument-not-stringable" = "on"
To skip it in some files or lines, add an ignore comment.
Replaces
ParameterCastableToStringRule(phpstan-classes)