-
-
Notifications
You must be signed in to change notification settings - Fork 87
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] Update to rector 0.12.15, apply parallel, and RemoveUnusedPrivatePropertyRector #489
Conversation
samsonasik
commented
Jan 22, 2022
•
edited
Loading
edited
Q | A |
---|---|
QA? | ✔️ |
- updated rector dependency to 0.12.15
- apply parallel process to speed up check
- apply RemoveUnusedPrivatePropertyRector
- Enable allow-plugins for composer 2.2 support.
…ivatePropertyRector
All green 🎉 |
updated to use rector 0.12.14 and re-run rector so option skip for |
@@ -36,7 +33,6 @@ public function __construct( | |||
string $footer = '' | |||
) { | |||
$this->function = $function; | |||
$this->parameters = $parameters; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
only remove property and its assignment in constructor for unused private property without removing its middle __construct
parameter that fill it to avoid BC break.
All green 🎉 |
Hi @samsonasik! Thank you very much! You are the best! We are going to start working on spiral framework 3.0 and it would be great to prepare rector for php 8.0! |
@butschster yes 👍 , just let me know there is a branch 3.0 to give php 8.0 rector rules to apply |
updated to use rector 0.12.15 |
Close-Reopen to restart build |
All green 🎉 |
I think, you can start from 2.9 branch |
2.9 branch still using php Line 21 in 3dca645
is it needs to be updated to "php": "~8.0.0 || ~8.1.0" since php is not semver. |
|