Skip to content

chore(deps): bump rector/rector from 2.6.3 to 2.6.5 - #30

Merged
HecFranco merged 1 commit into
mainfrom
dependabot/composer/rector/rector-2.6.4
Sep 3, 2026
Merged

HecFranco merged 1 commit into
mainfrom
dependabot/composer/rector/rector-2.6.4

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps rector/rector from 2.6.3 to 2.6.5.

Release notes

Sourced from rector/rector's releases.

Released Rector 2.6.5

Caching

This release makes the cache smarter about config changes - fewer needless full re-runs, while still invalidating when results could actually differ.

Configured rule value changes now invalidate the cache (#8400)

withConfiguredRule() stored its config on the RectorConfig instance only, never in the cache hash. Changing a rule's values - same class, different config - kept serving the stale result.

 return RectorConfig::configure()
     ->withConfiguredRule(SomeRector::class, [
-        'old value',
+        'new value',
     ]);

Before: cache kept, files re-analysed with stale value. After: cache dropped, re-analysed with new value. Merged config now flows through a RULE_CONFIGURATIONS parameter into the strict cache hash. Upgrading invalidates the cache once for projects using configured rules.

--only <Rule> reuses the full-run cache (#8400)

Each --only selection has its own cache namespace, so a file left clean by a prior full run was re-analysed under --only even when nothing changed. A scoped run now falls back to the full-run cache (read only, file content still compared, so real edits are still picked up).

vendor/bin/rector process       # full run, files left clean are cached
vendor/bin/rector process --only "Rector\..\SomeRector"

Before: --only re-analyses every file. After: skips files the full run already left clean.

Directional cache invalidation on config change (#8397)

Previously any change to any config parameter dropped the whole cache. Now changes are compared by direction:

  • removing a rule/set, or adding a skip -> strictly less work -> cache kept
  • adding a rule/set, or removing a skip -> more work possible -> cache dropped
  • output-affecting params (php version, import names, indent) -> any change still drops the cache
  • runtime/reporting params (--parallel, memory limit, deprecation notices) -> never invalidate
 return RectorConfig::configure()
     ->withRules([
         SomeRector::class,
-        OtherRector::class,     // removing a rule -> cache kept
     ]);
 return RectorConfig::configure()
     ->withSkip([
</tr></table> 

... (truncated)

Commits
  • f868660 Rector 2.6.5
  • 1312741 Updated Rector to commit ffe4c3299281281135b533a839392ae34a4bfcfe
  • 54cd3eb Updated Rector to commit 85e562c607f770f4f448f3116350e998c44cb370
  • 1313cee Updated Rector to commit 13cbd813cd56168e1fc7a713f92227062cc4b943
  • 9e25013 Updated Rector to commit 3bac42eb97293437491ee5e22d51b3cee8609455
  • 04130f7 Updated Rector to commit cc5d6f984ffddd44fd000860acb21c2245f3b52e
  • a7f993e Updated Rector to commit cc5d6f984ffddd44fd000860acb21c2245f3b52e
  • 1d2fed1 Updated Rector to commit bfee018eaa8fc099d116fb8825abb94a354501d8
  • 2e1ec84 Updated Rector to commit e6c36be32b8dda0178e62e06bc54ae3eccbe7d78
  • eebf5b3 Updated Rector to commit d28960e60ac022ccdb6b9b461645881f21ed3bf9
  • Additional commits viewable in compare view

@dependabot @github

dependabot Bot commented on behalf of github Aug 31, 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 31, 2026 07:27
@HecFranco

Copy link
Copy Markdown
Contributor

@dependabot rebase

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

---
updated-dependencies:
- dependency-name: rector/rector
  dependency-version: 2.6.4
  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): bump rector/rector from 2.6.3 to 2.6.4 chore(deps): bump rector/rector from 2.6.3 to 2.6.5 Sep 3, 2026
@dependabot
dependabot Bot force-pushed the dependabot/composer/rector/rector-2.6.4 branch from 906a4f3 to bf8ea75 Compare September 3, 2026 18:23
@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown

@coderabbitai review

@HecFranco
HecFranco merged commit 1ca6045 into main Sep 3, 2026
20 checks passed
@HecFranco
HecFranco deleted the dependabot/composer/rector/rector-2.6.4 branch September 3, 2026 18:31
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