From 6c7e96a6fc7d76e1ad81160addcf76bfa19faf6b Mon Sep 17 00:00:00 2001 From: mhsdesign <85400359+mhsdesign@users.noreply.github.com> Date: Thu, 2 May 2024 13:04:49 +0200 Subject: [PATCH] TASK: Rename forward compatible Neos 4 escr classes --- config/set/contentrepository-90.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config/set/contentrepository-90.php b/config/set/contentrepository-90.php index fa10b9c..4dca422 100644 --- a/config/set/contentrepository-90.php +++ b/config/set/contentrepository-90.php @@ -83,9 +83,11 @@ $rectorConfig->ruleWithConfiguration(RenameClassRector::class, [ + 'Neos\\ContentRepository\\\Domain\\Model\\Node' => NodeLegacyStub::class, 'Neos\\ContentRepository\\Domain\\Model\\NodeInterface' => NodeLegacyStub::class, 'Neos\\ContentRepository\\Domain\\Projection\\Content\\NodeInterface' => NodeLegacyStub::class, 'Neos\\ContentRepository\\Domain\\Projection\\Content\\TraversableNodeInterface' => NodeLegacyStub::class, + 'Neos\\ContentRepository\\Domain\\Projection\\Content\\TraversableNodes' => \Neos\ContentRepository\Core\Projection\ContentGraph\Nodes::class, 'Neos\ContentRepository\Domain\Service\Context' => LegacyContextStub::class, 'Neos\Neos\Domain\Service\ContentContext' => LegacyContextStub::class, @@ -96,6 +98,11 @@ 'Neos\ContentRepository\Utility' => \Neos\ContentRepositoryRegistry\Utility::class, 'Neos\ContentRepository\Domain\Model\Workspace' => \Neos\ContentRepository\Core\Projection\Workspace\Workspace::class, + 'Neos\\ContentRepository\\Domain\\NodeAggregate\\NodeAggregateIdentifier' => \Neos\ContentRepository\Core\SharedModel\Node\NodeAggregateId::class, + 'Neos\\ContentRepository\\Domain\\NodeAggregate\\NodeName' => \Neos\ContentRepository\Core\SharedModel\Node\NodeName::class, + 'Neos\\ContentRepository\\Domain\\NodeType\\NodeTypeName' => \Neos\ContentRepository\Core\NodeType\NodeTypeName::class, + 'Neos\\ContentRepository\\Domain\\Projection\\Content\\PropertyCollectionInterface' => \Neos\ContentRepository\Core\Projection\ContentGraph\PropertyCollection::class, + 'Neos\\ContentRepository\\Domain\\Model\\ArrayPropertyCollection' => \Neos\ContentRepository\Core\Projection\ContentGraph\PropertyCollection::class, ]); $rectorConfig->ruleWithConfiguration(FusionReplacePrototypeNameRector::class, [