analyse/deprecated/class-constant
In the analyse-recommended preset and every stricter one. Report only.
Configuration
[analyse.rules]
"deprecated/class-constant" = "on"
To skip it in some files or lines, add an ignore comment.
Replaces
RestrictedDeprecatedClassConstantUsageExtension(phpstan-classes)DeprecatedClassConstant(mago-analyzer)classConstant.deprecated(phpstan-deprecation-rules)enumCase.deprecated(phpstan-deprecation-rules)