-
Notifications
You must be signed in to change notification settings - Fork 23
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
Having trouble to prefix classes using last stable version #106
Comments
Works for me. You left out the |
Hi @BrianHenryIE, The file is identical to the one above, except that I intentionally omitted the require statement, as it can be any library. I am testing with Dompdf, but the issue persists. The namespace has been correctly modified, and the class name remains Dompdf (I think it should be SOMETHING_Vendor_Dompdf). |
Do you have any idea what might be causing the issue? |
The classname is unchanged when inside a namespace. It is only changed in the global namespace where it could conflict with another. Once the namespace it exists in is renamed, the problem is solved. I was considering removing the class renaming altogether in favour of moving things from the global namespace into their own namespace. But at the glacial pace of development, that's not going to change anytime soon. |
Thank you for the information! |
I'm having trouble to prefix the libraries classes using the latest stable version, not sure what I'm doing wrong:
I'm targeting
vendor
but I tried withlib
and I get the same output.The text was updated successfully, but these errors were encountered: