AnnotateThrowables: support analysis of called functions and methods#2998
AnnotateThrowables: support analysis of called functions and methods#2998TomasVotruba merged 12 commits intorectorphp:masterfrom Aerendir:support-throwing-functions
Conversation
|
@TomasVotruba , Ready to be merged! Before merging, please check this code: |
|
Do not merge: some work still required... I'm testing the Rector in an app and it causes exceptions... |
|
I'm waiting, no troubles |
|
Needs refactoring and checks to pass. |
|
@TomasVotruba , completely refactored and ready to be merged! 💪 |
TomasVotruba
left a comment
There was a problem hiding this comment.
I've left few notes to refactor for less class complexity.
The Rector rule is getting huge. Healthy maximum limit is around 250 lines. Anything higher usually lead to long tracing of bug later.
Service decoupling should allow that.
|
I did a very deep refactoring. I created some classes and put them where and gave them a name I think may be appropriate . Please, review the code as I don't know if you prefer different namings/namespacings/etc... |
|
Looks good 👍 |
|
Thank you 👏 |
rectorphp/rector-src@71b1142 [CodeQuality] Skip different value left and right on SimplifyEmptyArrayCheckRector (#2998)
Was #2928
Support
$varName->method();$methodParam->method();$this->method();