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

Namespace issues with static methods #23

Closed
adrianstaffen opened this issue Jun 25, 2021 · 1 comment
Closed

Namespace issues with static methods #23

adrianstaffen opened this issue Jun 25, 2021 · 1 comment

Comments

@adrianstaffen
Copy link

adrianstaffen commented Jun 25, 2021

Hi, I'm coming from coenjacobs#124 and wanted to give Strauss a go to fix my issues with mPDF & Mozart.

But Strauss is not replacing the old namespace with the new one when a static method is called. The are some cases in my codebase where also static methods get the updated namespace, but most of the times they do not.

I've created a simplified gist where I also attached the resulting file in which the non-static method gets the updated namespace and the static method does not. Is there something wrong with my composer.json or is Strauss not working correctly here? Thanks in advance!

BrianHenryIE added a commit that referenced this issue Jul 1, 2021
@BrianHenryIE
Copy link
Owner

Fixed in 0.10.0. Thank you.

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