-
-
Notifications
You must be signed in to change notification settings - Fork 687
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
Downgrade errors #6845
Comments
The first is reported by PHPStan internals. Another issue might be with circular dependency of 2 different versions. E.g. Rector and PHPStan using different php-parser or in this case, better reflection. |
Can you tell me how to show the full stack trace of the thrown exceptions? |
The |
Thank you, I was able to solve it. Rector now downgrades the codebase successfully. The key was to do the downgrading first, and renaming to the I've had to do a few manual edits that the downgrading process wasn't able to do ondrejmirtes/BetterReflection@6bbb3c6 but right now it's fine. Thanks. |
Thanks for reaching out. I'm glad you find the way 👍
Good to know. The scoper is making 2 classes with |
Bug Report
I'm trying to downgrade https://github.com/ondrejmirtes/BetterReflection/tree/ng using this commit (ondrejmirtes/BetterReflection@24e6703) and running the following on the command line:
The project needs PHP 8.1 for some cases so that's why I'm running Rector through Docker.
I'm bumping into two issues that are printed at the end of the Rector run:
Both look like some internal Rector errors.
You can reproduce the problem by running:
Thanks.
The text was updated successfully, but these errors were encountered: