-
Notifications
You must be signed in to change notification settings - Fork 7
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
PSR-4 Autoloading #9
Comments
I don't see where the plugin requires special support for the PSR-4? If I understand correctly, only the file structure changes between PSR-0 and PSR-4, the "namespace" written in the PHP file is the same right? The plugin searchs and uses the "namespace" that is before the keyword "class", "interface", "trait", etc.. in the file to build the "use". it should not be a change with PSR-4. If there is a subtlety that I don't understand, thank you explain it to me. |
The issue I am having is with the My {
[...]
"autoload": {
"psr-4": {
"Jeremyworboys\\Package\\": "src"
}
},
[...]
} If I then run the If I run the command from Basically, it isn't prefixing the vendor and package namespace from |
Any chance of getting support for PSR-4?
I imagine this will add a level of complexity as you will now need to interpret composer.json for the root namespace.
The text was updated successfully, but these errors were encountered: