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
I am trying to upgrade a custom Rector rule from old version of Rector in j0k3r/graby#365 but in 2.0, it no longer appears to be able to handle __DIR__ constant.
Bug Report
I am trying to upgrade a custom Rector rule from old version of Rector in j0k3r/graby#365 but in 2.0, it no longer appears to be able to handle
__DIR__
constant.Minimal PHP Code Causing Issue
https://getrector.com/demo/4c428282-bbc7-46b6-9db4-eab6d9e90f2f
Inserting
var_dump
(not allowed on the demo server) would show:Expected Behaviour
It should resolve the
__DIR__
constant in the context of refactored file:The text was updated successfully, but these errors were encountered: