Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

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

@BavoJanss

Description

@BavoJanss

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions