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

Inconsistent casing in namespaces #14

Open
rimi-itk opened this issue Oct 15, 2018 · 1 comment
Open

Inconsistent casing in namespaces #14

rimi-itk opened this issue Oct 15, 2018 · 1 comment

Comments

@rimi-itk
Copy link

The namespace Kapersoft\Sharefile is used in a handful of places, but this should be Kapersoft\ShareFile (capitalized File).
The type in the namespace breaks autoloading on case-sensitive filesystems.

@jtgroth
Copy link

jtgroth commented Sep 25, 2021

This still seems to be an issue. Until it can be resolved, you can add the following line to the autoload > psr-4 stanza of your composer json:

“autoload”: {
    “psr-4": {
        ... other autoload definitions
        “Kapersoft\\ShareFile\\“: “vendor/kapersoft/sharefile-api/src/”
    }
},

This should configure you autoloader to look for both Kapersoft\Sharefile (from the package composer.json) and Kapersoft\ShareFile (from your composer.json) in the installed package code.

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