analyse/attributes/invalid-class-constant-attribute
In the analyse-basic preset and every stricter one. Report only.
Configuration
[analyse.rules]
"attributes/invalid-class-constant-attribute" = "on"
To skip it in some files or lines, add an ignore comment.
Replaces
ClassConstantAttributesRule(phpstan-classes)NonExistentAttributeClass(mago-analyzer)attribute.deprecated(phpstan)attribute.noConstructor(phpstan)attribute.nonRepeatable(phpstan)attribute.notAttribute(phpstan)attribute.notFound(phpstan)