lint/complexity/no-constant-via-variable
In the code-quality set. Safe fix.
What it does
Change variable class constant fetch to direct class constant fetch when class or constant target is final
Configuration
[lint.rules]
"complexity/no-constant-via-variable" = "error"
To skip it in some files or lines, add an override or an ignore comment.
Replaces
VariableConstFetchToClassConstFetch(rector)