Skip to content

chore(deps-dev): bump rector/rector from 2.5.2 to 2.6.6 - #1247

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/composer/rector/rector-2.6.6
Open

chore(deps-dev): bump rector/rector from 2.5.2 to 2.6.6#1247
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/composer/rector/rector-2.6.6

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 7, 2026

Copy link
Copy Markdown
Contributor

Bumps rector/rector from 2.5.2 to 2.6.6.

Release notes

Sourced from rector/rector's releases.

Released Rector 2.6.6

File selection

--filter option to narrow processed files (#8419)

New --filter option keeps only files whose path matches all given patterns. Repeat the option to require several patterns at once, handy for scoping a run to a subtree or a naming convention without editing config paths.

vendor/bin/rector process src --filter Controller --filter Admin

Before: process every file under the given paths. After: process only files matching all --filter patterns.

Bugfixes 🐛

  • Add back RectorConfig::tag() as a no-op BC layer (#8431)
  • TypeDeclarationDocblocks: fix invalid array-in-key docblock when narrowing long array unions (#8430)
  • BetterPhpDocParser: keep import used only in an annotation array key (#8429)
  • RenameVariableToMatchMethodCallReturnTypeRector: fix partial rename with same-named nested arrow param (#8428)
  • ArrayFirstLastRector: skip nested compound assignment (#8425)
  • ReturnTypeFromStrictNewArrayRector: add doc return type only for list and generic arrays (#8423), skip noisy array-shape union return docblock (#8422)

Extension packages

rector-phpunit 🟢

  • AllowMockObjectsForDataProviderRector: skip dynamic method call (#781)
  • AssertEmptyNullableObjectToAssertInstanceofRector: skip assertNull/assertEmpty (#780)
  • AddSeeTestAnnotationRector: skip existing imported or short @see annotation (#779)

rector-downgrade-php ⬇️

  • DowngradeSetAccessibleReflectionPropertyRector: handle getProperties()/getMethods() loop (#396)
  • DowngradeHashAlgorithmXxHashRector: skip PHP_VERSION_ID guarded hash() calls (#394)

Internal / cleanup

  • Add mspirkov/yii2-rector link to README (#8427)
  • Add fixtures for arrow functions returning a ?? expression (#8421)

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)

... (truncated)

Commits
  • ca069d6 Rector 2.6.6
  • dd1dbd8 Updated Rector to commit c8f5daeffd982de54092ead1bc0d278a60aa3747
  • c6ecc8d Updated Rector to commit 0919678db52fe2ede06192b3b19834401da4a472
  • 27296aa Updated Rector to commit 96fd595f95029db66bd5205e6c5aa60eb4745353
  • 1e88d3d Updated Rector to commit ee2e8d0dd1afbdc754e5c9f6db7835e5136055f8
  • 33b2be9 Updated Rector to commit ee2e8d0dd1afbdc754e5c9f6db7835e5136055f8
  • 0a5abf5 Updated Rector to commit 28a4645c168c2567f79108c1c4463cda1afb4aff
  • 646f9f7 Updated Rector to commit 28a4645c168c2567f79108c1c4463cda1afb4aff
  • 78802da Updated Rector to commit 28a4645c168c2567f79108c1c4463cda1afb4aff
  • 7a20767 Updated Rector to commit 0c3d4f4e3c5c3eb7eabc0f7097bd7efaea657439
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Sep 7, 2026
@rosalieper

Copy link
Copy Markdown
Contributor

@dependabot rebase

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

---
updated-dependencies:
- dependency-name: rector/rector
  dependency-version: 2.6.6
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/composer/rector/rector-2.6.6 branch from cdf9dbc to 7565823 Compare September 9, 2026 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant