Problem
During the 3.5.0 release PR, a fresh CI dependency install resolved rector/rector to 2.6.4 and phpstan/phpstan to 2.2.10. The current rector.php configuration still uses PHPUnitSetList::PHPUNIT_110, which is not available in Rector 2.6.x. Rector 2.5.2 also depends on PHPStan internals that changed in later PHPStan 2.2.x releases.
The release PR pins the current toolchain to the last verified stable combination: rector/rector 2.5.2 and phpstan/phpstan 2.2.2. This issue tracks upgrading that tooling separately.
Proposed solution
Update the Rector configuration to use the current supported PHPUnit set API, then relax the Composer constraints for Rector and PHPStan to current stable compatible releases.
Acceptance criteria
Problem
During the 3.5.0 release PR, a fresh CI dependency install resolved
rector/rectorto2.6.4andphpstan/phpstanto2.2.10. The currentrector.phpconfiguration still usesPHPUnitSetList::PHPUNIT_110, which is not available in Rector 2.6.x. Rector 2.5.2 also depends on PHPStan internals that changed in later PHPStan 2.2.x releases.The release PR pins the current toolchain to the last verified stable combination:
rector/rector 2.5.2andphpstan/phpstan 2.2.2. This issue tracks upgrading that tooling separately.Proposed solution
Update the Rector configuration to use the current supported PHPUnit set API, then relax the Composer constraints for Rector and PHPStan to current stable compatible releases.
Acceptance criteria
rector.phpno longer depends on removed versioned PHPUnit set constants such asPHPUnitSetList::PHPUNIT_110composer.jsonallows the current stable compatible versions ofrector/rectorandphpstan/phpstanmake composer-installresolves the tooling without manual dependency overridesmake lint-rectorpassesmake lint-phpstanpassesCHANGELOG.mdwhen applicable