Open keywan-ghadami-oxid opened 4 years ago
StringToClassRule reports fails positive for a string containing "Error" in my application.
Maybe this rule is not that important anymore because phpstan can report using string where class-string is expected.
A good compromise to reduce chance of fail positives would be to check only for full qualified class names in strings.
Any PR is welcome :+1:
StringToClassRule reports fails positive for a string containing "Error" in my application.
Maybe this rule is not that important anymore because phpstan can report using string where class-string is expected.
A good compromise to reduce chance of fail positives would be to check only for full qualified class names in strings.