Skip to content

IBX-11974: Added Rector rule migrating DeduplicateStamp to Contracts namespace - #49

Merged
bnowak merged 1 commit into
5.0from
IBX-11974-DeduplicateStamp-replaced-namespace
Jul 9, 2026
Merged

IBX-11974: Added Rector rule migrating DeduplicateStamp to Contracts namespace#49
bnowak merged 1 commit into
5.0from
IBX-11974-DeduplicateStamp-replaced-namespace

Conversation

@bnowak

@bnowak bnowak commented Jul 6, 2026

Copy link
Copy Markdown
Contributor
🎫 Issue IBX-11974

Description

Adds a Rector rule that automatically migrates references of the deprecated Ibexa\Bundle\Messenger\Stamp\DeduplicateStamp to its replacement Ibexa\Contracts\Messenger\Stamp\DeduplicateStamp.

DeduplicateStamp was 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 existing ibexa-50 set, following the package convention for class moves (CONTRIBUTING.md: "new rules should be added there"). Covered by a set fixture under tests/lib/Sets/Ibexa50/Fixture/.

Related

@bnowak
bnowak marked this pull request as ready for review July 6, 2026 10:24
@bnowak
bnowak requested a review from a team July 6, 2026 10:24
@konradoboza
konradoboza requested a review from a team July 6, 2026 10:26
@mnocon mnocon added the Doc needed The changes require some documentation label Jul 6, 2026
@mnocon mnocon removed the Doc needed The changes require some documentation label Jul 8, 2026
@bnowak
bnowak merged commit 24def2a into 5.0 Jul 9, 2026
4 checks passed
@bnowak
bnowak deleted the IBX-11974-DeduplicateStamp-replaced-namespace branch July 9, 2026 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants