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'm upgrading a legacy system that was built with cakephp 2 to php 8.1. Rector was hanging and throwing errors sometimes, I was able to isolate this rule and file to reproduce one of the errors. There are other problems that I reported in other issues.
I'm not sure if this is an error in rector or in PhpParser, so I'm reporting it here, I think that the refactor messes up the node that it is changing, but I'm not sure because I don't fully understand how rector works.
Bug Report
I'm upgrading a legacy system that was built with cakephp 2 to php 8.1. Rector was hanging and throwing errors sometimes, I was able to isolate this rule and file to reproduce one of the errors. There are other problems that I reported in other issues.
I'm not sure if this is an error in rector or in PhpParser, so I'm reporting it here, I think that the refactor messes up the node that it is changing, but I'm not sure because I don't fully understand how rector works.
Minimal PHP Code Causing Issue
https://getrector.com/demo/c6334ce9-fdf7-4bd0-9ed6-94ce626c3e28
Expected Behaviour
The rule should not throw an error
The text was updated successfully, but these errors were encountered: