Skip to content

Commit

Permalink
BUGFIX: Remove rule for rewriting Node::getNodeType to Node::nodeType…
Browse files Browse the repository at this point in the history
… as this is not available anymore
  • Loading branch information
dlubitz committed Nov 7, 2024
1 parent d82472e commit f09d6a3
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 f09d6a3

Please sign in to comment.