-
-
Notifications
You must be signed in to change notification settings - Fork 708
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rector-prefixed breaks use statements and triggers errors #2929
Comments
Failing CI would be much better 👍 |
Means I have absolutely no idea what might be broken, nor why, so making CI fail is not undoable for me right now... I did the most I could, providing a "git bisect" equivalent on the commits. |
Closing as duplicated of #2879 |
This is not exactly a duplicate of #2879... There's two extra errors in here that are not listed in that issue :
The first might be related to the stubs (maybe?), but I doubt the second would be. |
Do not mix 2 issues at once. please re-open with new ones. Also, do not re-open issues, or I'll have to decrease your access. it's really frustrating to organize Rector issues with you doing it. Demo link for this is needed. |
Bug Report
It's been quite some time I haven't updated Rector on our project. Today I decided to do so and noticed some issues, so I went back in time (downloading previous versions of rector-prefixed's phar) until I had a working one. Here's the history :
[ERROR] The file "../utils" does not exist (in: phar:///app/rector.phar/src/HttpKernel/../../config).
.Warning: require(phar:///app/rector.phar/vendor/composer/../../helpers/rector_dump_function.php): failed to open stream: phar error: "helpers/rector_dump_function.php" is not a file in phar "/app/rector.phar" in phar:///app/rector.phar/vendor/composer/autoload_real.php on line 57
Updated Rector to commit 02ac09f +
Updated Rector to commit 0e46944 broken with
[ERROR] The file "../utils" does not exist (in: phar:///app/rector.phar/src/HttpKernel/../../config).
And all "use" statements are broken like this :
Any idea what changes might have triggered all this ?
The text was updated successfully, but these errors were encountered: