From f09d6a3fe48051b9a83f4875454287852e0b1141 Mon Sep 17 00:00:00 2001 From: Denny Lubitz Date: Thu, 7 Nov 2024 22:12:22 +0100 Subject: [PATCH] BUGFIX: Remove rule for rewriting Node::getNodeType to Node::nodeType as this is not available anymore --- config/set/contentrepository-90.php | 1 - 1 file changed, 1 deletion(-) diff --git a/config/set/contentrepository-90.php b/config/set/contentrepository-90.php index 9c9c80a..cb35451 100644 --- a/config/set/contentrepository-90.php +++ b/config/set/contentrepository-90.php @@ -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);