analyse/classes/invalid-dynamic-constant-fetch
In the analyse-basic preset and every stricter one. Report only.
Configuration
[analyse.rules]
"classes/invalid-dynamic-constant-fetch" = "on"
To skip it in some files or lines, add an ignore comment.
Replaces
DynamicClassConstantFetchRule(phpstan-classes)classConstant.dynamicFetch(phpstan)classConstant.nameType(phpstan)