Skip to content

chore(deps-dev): Bump rector/rector from 2.4.6 to 2.5.1 in /vendor-bin/rector#1340

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/composer/vendor-bin/rector/rector/rector-2.4.6
Open

chore(deps-dev): Bump rector/rector from 2.4.6 to 2.5.1 in /vendor-bin/rector#1340
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/composer/vendor-bin/rector/rector/rector-2.4.6

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 20, 2026

Copy link
Copy Markdown

Bumps rector/rector from 2.4.6 to 2.5.1.

Release notes

Sourced from rector/rector's releases.

Released Rector 2.5.1

Bugfixes 🐛

  • Skip unused-skip reporting on narrowed runs - no more false "unused skip" noise when running Rector on a subset of paths (#8069)
  • Display skips only on uncached run - skip report shows on real runs, not when results come from cache (#8071)
  • RemoveAlwaysTrueIfConditionRector — avoid scanning whole new statements on dynamic variable checks; moved logic to ExprAnalyzer and bail early on defined variables (#8057)

Released Rector 2.5

New Features 🥳 🎉 🎉 🎉

This release has 3 interesting new features. Let's look at them:

[dx] Report skips that never matched (#8058)

  • What? - like PHPStan's reportUnusedIgnores, but for Rector ->withSkip(). Flags skip entries that never matched anything during the run, so you can delete stale skips.

  • Why? - skips rot. You skip a path/rule to dodge a problem, later the file moves or the rule stops firing there — the skip lingers forever, silently masking nothing. This surfaces dead skips so config stays honest.

// rector.php
return RectorConfig::configure()
    ->withSkip([
        SimplifyUselessVariableRector::class => [
            '*/src/Legacy/*',          // still matches — fine
            '*/NonexistentUnused/*',   // matches nothing — stale
        ],
    ])
    ->reportUnusedSkips();

Run output:

 [OK] Rector is done!
[WARNING] This skip is unused, it never matched any element.
You can remove it from "->withSkip()"

Rector\CodeQuality\Rector\FunctionLike\SimplifyUselessVariableRector => /NonexistentUnused/

[dx] Removing unused imports by default (#8047)

You can update your rector.php config:

 return RectorConfig::configure()
</tr></table> 

... (truncated)

Commits
  • 34a9124 Rector 2.5.1
  • 6502d60 Updated Rector to commit df98b3b4e5f024d2260edc233dc9cb4adfe6a3e0
  • b74237c Updated Rector to commit 84ab911ef53267aa1c4a9466064def614e486eea
  • e3c4ee7 Updated Rector to commit 3893ea422afa3fb801ae64fa546c8a2cb24b0f97
  • bdd26a9 Updated Rector to commit 580b374ea3638fd50cf9b98b84445cd9fe53768e
  • 7526bea Rector 2.5.0
  • ac7d3bf Updated Rector to commit 13940f3995ff87d50fa3a145737c17747f8b8fde
  • 670fe88 Updated Rector to commit 613ee136e5f7a956d3c64a73a8d6542d1e387017
  • 7883d5d Updated Rector to commit be60d74cdf29f3184d0c2b7b2ef70a3556eb0d0e
  • 848d154 Updated Rector to commit 07451c9670374512c1692c8b51c7a4b0af0905be
  • Additional commits viewable in compare view

@dependabot @github

dependabot Bot commented on behalf of github Jun 20, 2026

Copy link
Copy Markdown
Author

Labels

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

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

Bumps [rector/rector](https://github.com/rectorphp/rector) from 2.4.6 to 2.5.1.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](rectorphp/rector@2.4.6...2.5.1)

---
updated-dependencies:
- dependency-name: rector/rector
  dependency-version: 2.4.6
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title chore(deps-dev): Bump rector/rector from 2.4.5 to 2.4.6 in /vendor-bin/rector chore(deps-dev): Bump rector/rector from 2.4.6 to 2.5.1 in /vendor-bin/rector Jun 21, 2026
@dependabot dependabot Bot force-pushed the dependabot/composer/vendor-bin/rector/rector/rector-2.4.6 branch from 4423826 to 494c778 Compare June 21, 2026 11:55
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.

0 participants