Skip to content
This repository was archived by the owner on Sep 20, 2021. It is now read-only.
This repository was archived by the owner on Sep 20, 2021. It is now read-only.

Do not use flexEntity in Hoa itself #34

@ondrejmirtes

Description

@ondrejmirtes

Hi,
I'm trying to integrate Hoa regex parser into PHPStan itself, and I've stumbled upon a problem.

Some code from Hoa project itself is using class aliases defined through flexEntity. For example Hoa\File\Generic extends Hoa\Stream, but there are many more.

This makes prefixing the project by php-scoper for using inside scoped PHAR harder. I also suspect it'd make static analysis harder because these symbols aren't known to static reflection.

I'm also skeptical if this feature is needed at all, you could declare a new major version and stop supporting this aliases.

Related: #29

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