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