Narrowed rector/rector dependency below 2.6.2 - #51
Merged
Conversation
rector/rector 2.6.2 ships a rector-symfony build that removed the deprecated version-based SymfonySetList constants (SYMFONY_50..SYMFONY_74), which IbexaRectorConfigFactory and downstream package rector configs still reference. Capping at <2.6.2 keeps packages and their CI jobs working until the configs are migrated to composer-based sets. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
bnowak
marked this pull request as ready for review
August 12, 2026 09:56
Steveb-p
approved these changes
Aug 12, 2026
Steveb-p
left a comment
Contributor
There was a problem hiding this comment.
Checked.
You can define multiple ranges. Ranges separated by a space ( ) or comma (,) will be treated as a logical AND. A double pipe (||) will be treated as a logical OR. AND has higher precedence than OR.
konradoboza
approved these changes
Aug 12, 2026
barw4
approved these changes
Aug 12, 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:
rector/rector2.6.2 (released 2026-08-12) ships arector/rector-symfonybuild that removed the deprecated version-based set constantsSymfonySetList::SYMFONY_50…SYMFONY_74(rectorphp/rector-symfony#1019).IbexaRectorConfigFactoryand therector.phpconfigs of downstream Ibexa packages still reference those constants, so any freshcomposer installnow fails with:This PR narrows the
rector/rectorrequirement to^2.0, <2.6.2so that composer resolves 2.6.1 — the last working release — keeping this package and the CI jobs of all packages depending on it green.Migrating
IbexaRectorConfigFactoryand per-package rector configs to the composer-based sets (->withComposerBased(symfony: true)) is a follow-up topic; this change only unblocks CI.For QA:
Nothing to test manually — this is a dev-dependency version cap. Verified by
composer update rector/rectorresolving2.6.2 => 2.6.1and the unit test suite passing (68 tests, 79 assertions), includingIbexaRectorConfigFactoryTestwhich exercises the removed constants.Documentation:
No client-facing impact to document.