Skip to content
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

Error psr-4 case sensitive #5

Closed
diego-sorribas opened this issue Oct 14, 2019 · 2 comments
Closed

Error psr-4 case sensitive #5

diego-sorribas opened this issue Oct 14, 2019 · 2 comments

Comments

@diego-sorribas
Copy link

Hello, I'm was struggling with an error with the namespaces, in my mac environment works fine the package but when I upload it to my server with Linux the namespaces was not working. So I renamed the folders to case-sensitive form from lists to Lists for example.

Are you agree of that?

@mattglover11
Copy link

https://www.php-fig.org/psr/psr-4/

2.3.2 The contiguous sub-namespace names after the “namespace prefix” correspond to a subdirectory within a “base directory”, in which the namespace separators represent directory separators. The subdirectory name MUST match the case of the sub-namespace names.

@mattglover11
Copy link

Hello, I'm was struggling with an error with the namespaces, in my mac environment works fine the package but when I upload it to my server with Linux the namespaces was not working. So I renamed the folders to case-sensitive form from lists to Lists for example.

Are you agree of that?

I have submitted a PR for this fix - #10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants