-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
FEATURE: Improve Node and Node interfaces rewrites #95
Conversation
Great work <3 |
tests/Sets/ContentRepository90/Fixture/Node/node-properties.php.inc
Outdated
Show resolved
Hide resolved
return new NodeLegacyStub(); | ||
} | ||
|
||
public function getNode(): NodeLegacyStub { |
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.
so this thing contains the signature of the original node interface and some of the "forward compatible" changes of the traversable thing ... but this is just a helper during running the migration right? These methods like all the find*
and get*
would be the todo to be migrated right?
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.
Yes, correct. This is just to enable rector to determine the return type of methods, which not exists anymore.
Improves the rewrites for node related code in general.
Fixes #57
Related: #75