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