Replies: 1 comment 4 replies
-
What does it currently return and what do you think it should return? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
to ease development of custom PHPStan rules, I think it would be helpful if
$scope->getFile()
would return a normalized filepath.that way we would prevent the trap of people comparing the path against constant strings like
in a way which is not cross-operating system compatible.
additionally normalization would prevent the need for writing ugly conditions like
wdyt?
Beta Was this translation helpful? Give feedback.
All reactions