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