IBX-12084: Added Ibexa DXP 6.0 rule set with DeduplicateStamp renamed to Symfony Messenger one - #50
Merged
bnowak merged 4 commits intoJul 24, 2026
Conversation
…Symfony Messenger one
alongosz
approved these changes
Jul 22, 2026
alongosz
left a comment
Member
There was a problem hiding this comment.
+1, though I don't remember why I kept mirror of 4.6 -> 5.0 sets and hence now 6.0. There's a lot of redundancy. Maybe it was to make it easier for developers, so they don't have to execute rector twice. But now it becomes a maintenance issue for us 😅
konradoboza
approved these changes
Jul 23, 2026
bnowak
deleted the
IBX-12084-added-6.0-rector-rule-set-with-DeduplicateStamp-renamed-to-Symfony-one
branch
July 24, 2026 09:09
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:
Added a new
IbexaSetList::IBEXA_60rule set (src/contracts/Sets/ibexa-60.php) for upgrading projects to Ibexa DXP 6.0.Following the existing pattern between the 4.6 and 5.0 sets, the new set is a standalone copy of the 5.0 set (sets are self-contained and not composed from each other), with a single difference: the
DeduplicateStamprename rule now migrates bothIbexa\Bundle\Messenger\Stamp\DeduplicateStampandIbexa\Contracts\Messenger\Stamp\DeduplicateStampto the nativeSymfony\Component\Messenger\Stamp\DeduplicateStamp(available since Symfony 7.3), instead of renaming the Bundle class to the Contracts one. The 4.6 and 5.0 sets remain untouched.For QA:
Covered by automated tests:
tests/lib/Sets/Ibexa60mirrors the existingIbexa50set test suite and additionally verifies that both legacyDeduplicateStampclasses (Bundle and Contracts namespaces) are renamed to the Symfony Messenger one.Manual check (optional): in a project with this package, run Rector with
IbexaSetList::IBEXA_60->valueagainst code using either legacyDeduplicateStampclass and confirm it is rewritten toSymfony\Component\Messenger\Stamp\DeduplicateStamp.Documentation:
A new
IbexaSetList::IBEXA_60Rector set is available for upgrading projects to Ibexa DXP 6.0. When it is applied, usages ofIbexa\Bundle\Messenger\Stamp\DeduplicateStampandIbexa\Contracts\Messenger\Stamp\DeduplicateStampare migrated toSymfony\Component\Messenger\Stamp\DeduplicateStamp.