Skip to content

Commit

Permalink
Update src/ContentRepository90/Rules/FusionPrimaryContentRector.php
Browse files Browse the repository at this point in the history
Co-authored-by: Christian Müller <[email protected]>
  • Loading branch information
dlubitz and kitsunet authored Nov 2, 2023
1 parent 6e6ca4b commit 3c917e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public function getRuleDefinition(): RuleDefinition

public function refactorFileContent(string $fileContent): string
{
$comment = '// TODO 9.0 migration: You need to rewrite "Neos.Neos:PrimaryContent" to "Neos.Neos:ContentCollection".';
$comment = '// TODO 9.0 migration: You need to refactor "Neos.Neos:PrimaryContent" to use "Neos.Neos:ContentCollection" instead.';
$regex = '/Neos\.Neos:PrimaryContent/';

if (preg_match($regex, $fileContent) === 1){
Expand Down

0 comments on commit 3c917e1

Please sign in to comment.