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
{{ message }}
This repository has been archived by the owner on Sep 20, 2021. It is now read-only.
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.
This is something we remove in the next version of Hoa. But life happened, and development had slow down. I'll fix this as soon as possible. We all agreed that it brings more troubles than it solves problems.
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 exampleHoa\File\Generic
extendsHoa\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
The text was updated successfully, but these errors were encountered: