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
Just want to let you know that I moved to PHP Scoper.
I tried looking at your code but couldn't wrap my head around the regexes 😅 And even support for class_alias wouldn't be enough to scope Twig. I need the flexibility of what PHP Scoper calls "patcher" to make it work -- unfortunately.
Still want to leave a thumbs up 👍 here for your efforts. Especially with your imposter-plugin the usage is really pleasant. I'm just unfortunate, I guess, in that the only dependency I need to wrap makes scoping really hard. Feel free to close the issue.
Currently
class_alias
is not supported.I need this because I would like to use imposter for Twig, but they make use of
class_alias
, for example here: https://github.com/twigphp/Twig/blob/2.x/src/Environment.php#L995I think the prefix should be applied to both the alias
$origin
and$alias
.The text was updated successfully, but these errors were encountered: