-
-
Notifications
You must be signed in to change notification settings - Fork 89
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] Apply SetList::DEAD_CODE #472
Conversation
51abfa7
to
e339791
Compare
I will look into the errors, possibly skip rector rules that cause it. |
…anceof InjectorInterface next
Codecov Report
@@ Coverage Diff @@
## 2.8 #472 +/- ##
============================================
+ Coverage 84.25% 84.28% +0.02%
+ Complexity 8754 8752 -2
============================================
Files 1192 1192
Lines 29793 29783 -10
============================================
Hits 25102 25102
+ Misses 4691 4681 -10
Continue to review full report at Codecov.
|
@butschster all green 🎉 |
* form of a bitmask indicating the places where attributes | ||
* can be defined. | ||
*/ | ||
public function __construct( |
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.
@roxblnfk what do you think. Is this piece of code required?
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.
Now this code is dead. Mb is it mistake?
@samsonasik hi! Sorry for long response. We didn't forget about your your PR, this week I'll try to check it and merge! Thank you! |
Apply Rector's
SetList::DEAD_CODE
Setlist to remove unnecessary code.Mostly applied changes:
Complete lists are at https://github.com/rectorphp/rector-src/blob/6a8d8233b963f3361383ce7a76a343be16837bff/config/set/dead-code.php