Skip to content

chore(deps): bump rector/rector from 2.6.1 to 2.6.2 - #30

Merged
HecFranco merged 1 commit into
mainfrom
dependabot/composer/rector/rector-2.6.2
Aug 17, 2026
Merged

chore(deps): bump rector/rector from 2.6.1 to 2.6.2#30
HecFranco merged 1 commit into
mainfrom
dependabot/composer/rector/rector-2.6.2

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps rector/rector from 2.6.1 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 compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [rector/rector](https://github.com/rectorphp/rector) from 2.6.1 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
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Aug 17, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies, php. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot
dependabot Bot requested a review from HecFranco as a code owner August 17, 2026 07:16
@github-actions

Copy link
Copy Markdown

@coderabbitai review

@HecFranco HecFranco left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved: dependency bump with green CI.

@HecFranco
HecFranco merged commit 641928e into main Aug 17, 2026
18 checks passed
@HecFranco
HecFranco deleted the dependabot/composer/rector/rector-2.6.2 branch August 17, 2026 09:23
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