Skip to content

Commit

Permalink
Merge pull request #53 from neos/task/addNewClassAliases
Browse files Browse the repository at this point in the history
TASK: Rename forward compatible Neos 4 ESCR classes
  • Loading branch information
kdambekalns authored May 14, 2024
2 parents 4843c45 + 6c7e96a commit 192fbad
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions config/set/contentrepository-90.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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, [
Expand Down

0 comments on commit 192fbad

Please sign in to comment.