-
-
Notifications
You must be signed in to change notification settings - Fork 191
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
Syntax error, unexpected '\' (T_NS_SEPARATOR) when using Zend-Code 3.0.3 #321
Comments
Can confirm the issue, using Neos and
as well. |
It's zend-code, see zendframework/zend-code#74 |
Keeping it open, but marking it as invalid, since zendframework/zend-code#74 is the cause of this. |
@holtkamp @kdambekalns can you try running a |
Yes, with zend-code "3.0.4" it works. Maybe you need to change the requirement in |
Late to the party, but yes: fixed with 3.0.4. Thanks! |
Running a
composer update
resulted in:After that the following parse error occurs:
Moving back to
"zendframework/zend-code" : "3.0.2"
resolves the problem.The ProxyManager is used by www.php-di.org to define lazy injected definitions for the Dependency Injection Container.
Switched back to zend-code
3.0.3
and had the proxies written to file to check what generated code caused this:Note the double prefixing path separator
\\
Might be a zend-code thingie, but as the Proxymanager complains, reported it here.
Probably caused by zendframework/zend-code@d1f11ad
The text was updated successfully, but these errors were encountered: