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

Zend\Code\Reflection\FileReflection crashes on Zend's module.config.php #8

Closed
weierophinney opened this issue Dec 31, 2019 · 1 comment · Fixed by #58
Closed

Zend\Code\Reflection\FileReflection crashes on Zend's module.config.php #8

weierophinney opened this issue Dec 31, 2019 · 1 comment · Fixed by #58
Assignees
Labels
Bug Something isn't working Won't Fix This will not be worked on
Milestone

Comments

@weierophinney
Copy link
Member

When trying to do a FileReflection on a zend module.config.php you run into a ReflectionException when invoking FileReflection::getClasses(). Underlying problem is the tokens_get_all() function (in Zend\Code\Scanner\FileScanner::__construct) incorrectly flags the object::class constant as a T_CLASS.


Originally posted by @BavoJanss at zendframework/zend-code#142

@Ocramius
Copy link
Member

No longer needed as per #58

@Ocramius Ocramius self-assigned this Nov 30, 2020
@Ocramius Ocramius added Bug Something isn't working Won't Fix This will not be worked on labels Nov 30, 2020
@Ocramius Ocramius added this to the 4.0.0 milestone Nov 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Won't Fix This will not be worked on
Projects
None yet
2 participants