Skip to content

chore(deps-dev): update rector/rector requirement from 2.6.1 to 2.6.2 in the composer-dependencies group across 1 directory - #10467

Closed
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/composer/composer-dependencies-65ff25233c
Closed

chore(deps-dev): update rector/rector requirement from 2.6.1 to 2.6.2 in the composer-dependencies group across 1 directory#10467
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/composer/composer-dependencies-65ff25233c

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 17, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on rector/rector to permit the latest version.
Updates rector/rector to 2.6.2

Release notes

Sourced from rector/rector's releases.

Released Rector 2.6.2

The 2.6.0 release introduced composer-based sets. This release finishes the job: every extension package now ships a single composer-based set, and the per-version set providers behind the old guessing game are gone.

use Rector\Config\RectorConfig;
return RectorConfig::configure()
->withComposerBased(
doctrine: true,
phpunit: true,
twig: true,
);

Each rule inside checks composer.json/installed.json on its own and runs only if the installed package version matches its constraint. No SymfonySetList::SYMFONY_63, no picking a PHPUnit version by hand. We're working hard to bring Drupal and Laravel community packages to the same system.

Run only the PHP rules (#8322)

A new --php option on the process command runs only rules bound to a minimal PHP version — those implementing MinPhpVersionInterface. Useful to split a PHP upgrade from the rest, without a second config:

vendor/bin/rector process src --php --dry-run

New features 🥳

  • [Process] Add --php option to run only PHP version rules (#8322)
  • [Configuration] Resolve the composer-based set of extension packages in withComposerBased() (#8332), load Doctrine and Twig composer-based sets (#8313)
  • [Configuration] Report explicit error when the --only rule exists but is not registered in rector.php (#8300)
  • [DX] Warn on skipped classes that are not Rector rules (#8323), include the skipped class name in the message (#8325)
  • [DX] Show previous exceptions during bootstrap (#8287)
 [WARNING] This skipped class is not a Rector rule, so it can never be skipped.
           Only classes that implement "Rector\Contract\Rector\RectorInterface"
           can be used in "->withSkip()"

New rules 🎉

rector-src

  • [DeadCode] RemoveRedundantTypeCheckRector (#8307)

... (truncated)

Commits
  • 03cd615 Rector 2.6.2
  • 112412c Updated Rector to commit d39693f97e95e5dfb160f6d3529b740ac1c24b38
  • db9eb19 Updated Rector to commit 29928dd034534323ebf603bd1602b4f20ecd3ac6
  • 722336e Updated Rector to commit 09ee9549d7e20c168004ec0111ba165f91350541
  • 3654819 Updated Rector to commit ede5061101ddf7cc6c6d22aba492ecbfa2d7e4cf
  • f42c503 Updated Rector to commit ede5061101ddf7cc6c6d22aba492ecbfa2d7e4cf
  • f7bbc4f Updated Rector to commit ede5061101ddf7cc6c6d22aba492ecbfa2d7e4cf
  • 08865fb Updated Rector to commit ede5061101ddf7cc6c6d22aba492ecbfa2d7e4cf
  • b00041d Updated Rector to commit ede5061101ddf7cc6c6d22aba492ecbfa2d7e4cf
  • 032c857 Updated Rector to commit 768539a46a08410a7e25a643fe3777ab9c17b116
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update external dependencies php Pull requests that update php code labels Aug 17, 2026
Updates the requirements on [rector/rector](https://github.com/rectorphp/rector) to permit the latest version.

Updates `rector/rector` to 2.6.2
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](rectorphp/rector@2.6.1...2.6.2)

---
updated-dependencies:
- dependency-name: rector/rector
  dependency-version: 2.6.2
  dependency-type: direct:development
  dependency-group: composer-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title chore(deps-dev): update rector/rector requirement from 2.6.1 to 2.6.2 in the composer-dependencies group chore(deps-dev): update rector/rector requirement from 2.6.1 to 2.6.2 in the composer-dependencies group across 1 directory Aug 18, 2026
@dependabot
dependabot Bot force-pushed the dependabot/composer/composer-dependencies-65ff25233c branch from 32a28a8 to c6e020a Compare August 18, 2026 15:22
@samsonasik

Copy link
Copy Markdown
Member

we can wait for next rector release since latest release introduce cache bug rectorphp/rector#9855

@samsonasik samsonasik closed this Aug 18, 2026
@dependabot @github

dependabot Bot commented on behalf of github Aug 18, 2026

Copy link
Copy Markdown
Contributor Author

This pull request was built based on a group rule. Closing it will not ignore any of these versions in future pull requests.

To ignore these dependencies, configure ignore rules in dependabot.yml

@samsonasik
samsonasik deleted the dependabot/composer/composer-dependencies-65ff25233c branch August 18, 2026 15:42
@paulbalandan

Copy link
Copy Markdown
Member

@samsonasik I'm not sure if related to that cache bug but it seems rector is not merging (or incorrectly merging) the phpstan configs. Specifically, __DIR__ . '/vendor/codeigniter/phpstan-codeigniter/extension.neon' declares the codeigniter.schemaCacheDirectory which __DIR__ . '/phpstan.dist.neon' overrides its value with build/schema-cache. Despite that, rector still produces the extension's cache in its default %currentWorkingDirectory%/tmp path.

@samsonasik

Copy link
Copy Markdown
Member

that's probably different bug, probably related to

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update external dependencies php Pull requests that update php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants