-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Custom report paths don't work on case-sensitive filesystems #1996
Comments
I couldn't find any good reason for that ucfirst, so it probably came from old code to make things look nicer. I've removed it now. Thanks for letting me know. |
Maybe those travis failures tell me why. Can't replicate locally so need to go digging again. |
Forgot about autoloading. Needed that ucfirst just for the internal classes. |
@gsherwood Just out of curiousity: why isn't the autoloader set up to be case-insensitive ? In PHP itself, classnames, namespace names (and keywords and function names) are treated case-insensitively. |
It wasn't the autoloader itself, it's the fact that the file system on the test systems is case-sensitive. I didn't catch the error because the file system on my Mac is case insensitive. So it was really just that it was looking for the file |
👍 Ah, snap. |
Hi, I have noticed that the constructor method for
src/Reporter.php
capitalises strings supplied by the--report=
command line argument.This breaks on case-sensitive filesystems.
The text was updated successfully, but these errors were encountered: