You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got feedback from Nikita and it seems that it should be possible somehow from within this tool: nikic/PHP-Parser#903 (comment)
I will see if I can prepare a patch once I find some time. But as always, there are other things with higher priorities (I ended up fixing the issue by just referencing the class by myself).
Hey there,
I have the following (reduced) example of our application which uses this component to dump the application config to a filesystem cache:
So the exporter generates this code:
Overall, no real problem and everything works until the closure is being used to instantiate the service. PHP gives us the follow fatal error:
I wonder if it is possible to convert the
self
reference to some kind ofFQCN
so that we do not have to care about usingself
or not.I am willing to contribute a fix. Just wanted to raise the issue first.
Feel free to give me some feedback whenever you find some time.
Thanks!
The text was updated successfully, but these errors were encountered: