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