Skip to content

Commit

Permalink
Added rector rule to replace deprecated SearchResult::$spellSuggestio…
Browse files Browse the repository at this point in the history
…n property (#22)
  • Loading branch information
wiewiurdp authored Feb 24, 2025
1 parent 61cfd60 commit 9dd940f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/contracts/Sets/ibexa-50.php
Original file line number Diff line number Diff line change
Expand Up @@ -190,4 +190,15 @@
),
]
);

$rectorConfig->ruleWithConfiguration(
RenamePropertyRector::class,
[
new RenameProperty(
'Ibexa\Contracts\Core\Repository\Values\Content\Search\SearchResult',
'spellSuggestion',
'spellcheck',
),
]
);
};

0 comments on commit 9dd940f

Please sign in to comment.