-
Notifications
You must be signed in to change notification settings - Fork 63
[code-quality] Add AddReturnTypeToDependedRector #528
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
Conversation
385469f to
1cc7895
Compare
1cc7895 to
f3da56d
Compare
rules/CodeQuality/Rector/Class_/AddReturnTypeToDependedRector.php
Outdated
Show resolved
Hide resolved
f3da56d to
4471d55
Compare
|
Rector is failing because of different config locations. I'll add dummy set list to have them in relative paths |
|
The config is fine, just 'rector-src/vendor |
|
@samsonasik No need to check magic paths, better use this way rectorphp/rector-symfony#837 |
rules/CodeQuality/Rector/Class_/AddReturnTypeToDependedRector.php
Outdated
Show resolved
Hide resolved
78bbcb0 to
bfdc0fc
Compare
Co-authored-by: Abdul Malik Ikhsan <samsonasik@gmail.com>
bfdc0fc to
44b19d6
Compare
| if (! $this->haveAllReturnsExpr($classMethod)) { | ||
| continue; | ||
| } |
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.
this can be removed.
| if (! $this->haveAllReturnsExpr($classMethod)) { | |
| continue; | |
| } |
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.
see #529
No description provided.