-
-
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: Rewrite NodeType::getName() #26
Conversation
tests/ContentRepository90/Rules/FusionNodeTypeNameRector/Fixture/some_file.fusion.inc
Outdated
Show resolved
Hide resolved
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.
I love it, thanks! (+1 by reading)
just a mini question re comment positioning.
Also I wonder: Do all our rector migrations add a "TODO 9.0 migration" prefix?
I remember a conversiation that we add this prefix if we can't be sure that the migration would be correct. E.g. if we can't be sure if it is a node. |
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.
@bwaidelich As Anke says, it's on all places where the migrator should have have a look and might need to change something manually. |
Rector migration for
NodeType::getName
removalneos/neos-development-collection#4560
PHP
$nodeType->getName()
to$nodeType->name->value
Fusion
${node.nodeType.name}
to${node.nodeTypeName.value}
Fixes partly #25