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