-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems with extensions FailedTestsReporter #103
Comments
@DavertMik - Would you be able to elaborate what the original intent of the substr replace was? I was trying to read the unit test, but also noted that the |
(Disclaimer: I have never used this code/extension; so my comment might be really useless) => This really looks like there is a |
@reinholdfuereder That's what I was seeing as well. I assume the original intent was to strip that leading DIRECTORY_SEPARATOR. I have only been working on testing this for my own use case, and I didn't see documentation of what else could be expecting that. I suppose in either case, something like this should be a safe means to handle the separator being present (or not, as it seems to always be the case): return ltrim(str_replace($this->getRootDir(), '', $name), '/'); |
Hello! Found problems in the FailedTestsReporter extension. This extension saves the path to cases without the first character. Does this make sense or is it a bug? The problem is in this line:
robo-paracept/src/Extension/FailedTestsReporter.php
Line 68 in 10bbd3b
The text was updated successfully, but these errors were encountered: