Skip to content

Commit

Permalink
Merge pull request #92 from neos/bugfix/remove-get-nodetype
Browse files Browse the repository at this point in the history
BUGFIX: Remove rule for rewriting Node::getNodeType to Node::nodeType
  • Loading branch information
bwaidelich authored Nov 8, 2024
2 parents c05676a + f09d6a3 commit 071852a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion config/set/contentrepository-90.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@
$methodCallToWarningComments[] = new MethodCallToWarningComment(NodeLegacyStub::class, 'unsetContentObject', '!! Node::unsetContentObject() is not supported by the new CR. Referencing objects can be done by storing them in Node::properties (and the serialization/deserialization is extensible).');
// setNodeType
// getNodeType: NodeType
$methodCallToPropertyFetches[] = new MethodCallToPropertyFetch(NodeLegacyStub::class, 'getNodeType', 'nodeType');
// Fusion: node.nodeType -> Neos.Node.nodeType(node)
// Fusion: node.nodeType.name -> node.nodeTypeName
$rectorConfig->rule(FusionNodeNodeTypeRector::class);
Expand Down

0 comments on commit 071852a

Please sign in to comment.