analyse/dead-code/unused-static-method-result
In the analyse-recommended preset and every stricter one. Report only.
Configuration
[analyse.rules]
"dead-code/unused-static-method-result" = "on"
To skip it in some files or lines, add an ignore comment.
Replaces
CallToStaticMethodStatementWithoutImpurePointsRule(phpstan-classes)staticMethod.resultUnused(phpstan)