analyse/types/enum-template-not-allowed
In the analyse-essential preset and every stricter one. Report only.
Configuration
[analyse.rules]
"types/enum-template-not-allowed" = "on"
To skip it in some files or lines, add an ignore comment.
Replaces
EnumTemplateTypeRule(phpstan-classes)enum.generic(phpstan)