-
-
Notifications
You must be signed in to change notification settings - Fork 704
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
Why am I getting an old version of rector? #5320
Comments
Hi, probably other packages in your project. Composer can only install packages that are compatible with them. Try: https://github.com/rectorphp/rector-prefixed What PHP version do you use? |
was using PHP 7.1. Switched over to 7.2, I think I'm ok now? I don't see anything in the readme mentioning what version to use, but the init command did work now. |
Good 👍 Each tag uses different version, you can see it in Line 23 in e00106e
|
rectorphp/rector-src@41729c2 [DeadCode] Skip @return never with void on RemoveUselessReturnTagRector (#5320)
Question
I ran
composer require rector/rector --dev
, thenvendor/rector/rector/bin/rector init
. This is the output:I know this is an old version of Rector, but I have no idea how to get an up-to-date version
The text was updated successfully, but these errors were encountered: