analyse/operators/non-numeric-multiplication
In the analyse-strict preset and every stricter one. Report only. Upstream gates: strictRules.numericOperandsInArithmeticOperators.
Configuration
[analyse.rules]
"operators/non-numeric-multiplication" = "on"
To skip it in some files or lines, add an ignore comment.
Replaces
OperandsInArithmeticMultiplicationRule(phpstan-classes)mul.leftNonNumeric(phpstan-strict-rules)mul.rightNonNumeric(phpstan-strict-rules)