File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
src/ContentRepository90/Rules
Rules/NodeIsHiddenRector/Fixture
Sets/ContentRepository90/Fixture/Node Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1758,7 +1758,7 @@ return static function (RectorConfig $rectorConfig): void {
1758
1758
public function run(NodeLegacyStub $node)
1759
1759
{
1760
1760
- return $node->isHidden();
1761
- + return $node->tags->contain(\Neos\ContentRepository\Core\Feature\ SubtreeTagging\Dto\SubtreeTag ::disabled());
1761
+ + return $node->tags->contain(\Neos\Neos\Domain\ SubtreeTagging\NeosSubtreeTag ::disabled());
1762
1762
}
1763
1763
}
1764
1764
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ public function refactor(Node $node) : ?Node
52
52
'tags '
53
53
),
54
54
'contain ' ,
55
- [$ this ->nodeFactory ->createStaticCall (\Neos \ContentRepository \ Core \ Feature \ SubtreeTagging \Dto \SubtreeTag ::class, 'disabled ' )]
55
+ [$ this ->nodeFactory ->createStaticCall (\Neos \Neos \ Domain \ SubtreeTagging \NeosSubtreeTag ::class, 'disabled ' )]
56
56
);
57
57
}
58
58
}
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ class SomeClass
20
20
{
21
21
public function run (NodeLegacyStub $ node )
22
22
{
23
- return $ node ->tags ->contain (\Neos \ContentRepository \ Core \ Feature \ SubtreeTagging \Dto \SubtreeTag ::disabled ());
23
+ return $ node ->tags ->contain (\Neos \Neos \ Domain \ SubtreeTagging \NeosSubtreeTag ::disabled ());
24
24
}
25
25
}
26
26
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ class SomeClass extends AnotherClass
26
26
{
27
27
public function node (\Neos \ContentRepository \Core \Projection \ContentGraph \Node $ node )
28
28
{
29
- $ hidden = $ node ->tags ->contain (\Neos \ContentRepository \ Core \ Feature \ SubtreeTagging \Dto \SubtreeTag ::disabled ());
29
+ $ hidden = $ node ->tags ->contain (\Neos \Neos \ Domain \ SubtreeTagging \NeosSubtreeTag ::disabled ());
30
30
// TODO 9.0 migration: !! Node::setHidden() is not supported by the new CR. Use the "EnableNodeAggregate" or "DisableNodeAggregate" command to change the visibility of the node.
31
31
32
32
You can’t perform that action at this time.
0 commit comments