Skip to content

build: require rector/rector ^2.8.4 - #444

Merged
bbrala merged 2 commits into
mainfrom
chore/bump-rector-2.8.4
Nov 5, 2026
Merged

bbrala merged 2 commits into
mainfrom
chore/bump-rector-2.8.4

Conversation

@bbrala

@bbrala bbrala commented Nov 4, 2026

Copy link
Copy Markdown
Collaborator

Description

Raises the minimum Rector to 2.8.4, the first release with the scoper fix (rectorphp/rector-src#8897) that stops withComposerBased(drupal: true) from fataling with Class "RectorPrefix…\DrupalRector\Set\DrupalSetList" not found. 2.8.4 also contains #8881, which #443 already adapted to.

Changes the ^2.6.5 constraint to ^2.8.4 in composer.json, phpunit.yml, phpstan.yml, and the requirement notes in CHANGELOG.md and README.md.

The README warning that withComposerBased(drupal: true) fatals is left in place on purpose. It gets rewritten after the re-test on a Drupal 11 site, as a follow-up under #441.

To Test

composer require --dev rector/rector:^2.8.4 -W
composer test
vendor/bin/phpstan analyse

699 tests and PHPStan pass on Rector 2.8.4.

Related: #441

🤖 Generated with Claude Code

https://claude.ai/code/session_01EY2u2uXHmnxb88Rk1KcG6a

@bbrala

bbrala commented Nov 5, 2026

Copy link
Copy Markdown
Collaborator Author

I've been testing this on project analysis and a few local projects, and this seems to clear everything up again.

@bbrala
bbrala merged commit b66d81b into main Nov 5, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant