analyse/disallowed/attribute
In the analyse-basic preset and every stricter one. Report only.
What it does
Reports the attributes the config forbids (disallowedAttributes).
Configuration
[analyse.rules]
"disallowed/attribute" = "on"
To skip it in some files or lines, add an ignore comment.
Replaces
AttributeUsages(phpstan-classes)disallowed.attribute(phpstan-disallowed-calls)