IBX-11974: Added Rector rule migrating DeduplicateStamp to Contracts namespace - #49
Merged
Merged
Conversation
bnowak
marked this pull request as ready for review
July 6, 2026 10:24
konradoboza
approved these changes
Jul 6, 2026
ciastektk
approved these changes
Jul 8, 2026
ViniTou
approved these changes
Jul 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds a Rector rule that automatically migrates references of the deprecated
Ibexa\Bundle\Messenger\Stamp\DeduplicateStampto its replacementIbexa\Contracts\Messenger\Stamp\DeduplicateStamp.DeduplicateStampwas moved to the Contracts namespace and the Bundle-namespace class was deprecated (ibexa/messenger#20) and removed for the next major (ibexa/messenger#21). This rule lets consumers — internal Ibexa packages and end-user projects alike — update their code base automatically as part of the Ibexa DXP 5.0 upgrade set.Implemented with Rector's built-in
RenameClassRector, added to the existingibexa-50set, following the package convention for class moves (CONTRIBUTING.md: "new rules should be added there"). Covered by a set fixture undertests/lib/Sets/Ibexa50/Fixture/.Related