Skip to content

build(deps-dev): bump rector/rector from 2.6.7 to 2.7.0 - #4766

Merged
thorsten merged 1 commit into
mainfrom
dependabot/composer/rector/rector-2.7.0
Oct 16, 2026
Merged

thorsten merged 1 commit into
mainfrom
dependabot/composer/rector/rector-2.7.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Bumps rector/rector from 2.6.7 to 2.7.0.

Release notes

Sourced from rector/rector's releases.

Released Rector 2.7

New Rules ✨

  • Add TernaryToNullsafeCoalesceRector (#8499)
  • Add BoolReturnTypeFromBooleanConstAndStrictReturnsRector for mixed const + strict bool returns (#8498)
  • Add ConstructorReadonlyAssignToDefaultRector for readonly property defaults (#8502)
  • Add RemoveOverriddenAssignBeforeIfElseRector (#8505)

Performance Improvements 🚀

  • Cache class-like name resolution per file version in ShortNameResolver, so name import no longer rescans the whole file for every name - up to ~24 % fewer CPU instructions on large projects (#8524)
  • Cache dry-run files whose FileDiff has no content change (#8523)
  • Key the file cache on project-relative paths, so a cache survives a change of checkout (#8490)
  • Use FileSystem::writeAtomic() in FileCacheStorage to avoid partial cache reads on parallel runs (#8520)
  • Terminate timed-out and unconnected workers (#8522)
  • Fix silently skipped files when the only worker is respawned (#8521)
  • Give the worker the same NDJSON frame limit as the main process (#8489)
  • Bump to PHPStan 2.3

Bugfixes 🐛

  • RenamePropertyRector: rename the property both in the trait and in the class property itself (#8518)
  • RenameClassRector: throw on same old and new class in the configuration (#8515)
  • ScalarParamTypeByMethodCallTypeRector: skip string param inference to avoid unsafe scalar coercion (#8514)
  • RepeatedAndNotEqualToNotInArrayRector / RepeatedOrEqualToInArrayRector: skip short-circuit dependent values (#8516)
  • SeparateMultiUseImportsRector: keep trait use adaptations (#8510)
  • Privatize*Rector: drop the final flag when changing protected to private, since private final is forbidden on PHP 8.4 (#8509)
  • AddNameToBooleanArgumentRector / AddNameToNullArgumentRector: skip callees marked @no-named-arguments (#8508)
  • TypedPropertyFromStrictConstructorRector: skip a protected property redeclared in a child class (#8503)
  • RemoveAlwaysTrueIfConditionRector: skip a maybe-undefined variable (#8501)
  • SingularSwitchToIfRector: skip nested break/continue in the case body (#8500)
  • TypeDeclaration: skip redundant intersection types in union return types (#8527)
  • Naming: keep mass nouns ending in data/info untouched when singularizing (#8492)

rector-doctrine 🟠

  • Add DoctrineQueryBuilderSortDirectionRector (#524)
  • Add DoctrineOrderByAttributeSortDirectionRector (#525)
  • Register the SortDirection rules in the composer-based set and cover Expr\OrderBy::add() (#530)
  • CorrectDefaultTypesOnEntityPropertyRector: support properties initialized as int (#526)

rector-symfony 🎵

... (truncated)

Commits
  • 4d6a39b Rector 2.7.0
  • a2c8963 Updated Rector to commit 33926fa99a7ee6c86f4d7dcb16101bf5304c8edf
  • 47fb3a7 Updated Rector to commit b4d80f41ff90e2ab3cb511d466097ceae767053a
  • ec544a4 Updated Rector to commit b4d80f41ff90e2ab3cb511d466097ceae767053a
  • e2a1ac1 Updated Rector to commit 09b71bd39460a5daaf9b754b4ebcaecfc0fce3d4
  • 0f75a58 Updated Rector to commit c5254e7c8c9b14e750c3e726f2c89322d9ad3870
  • 89c175c Updated Rector to commit c5254e7c8c9b14e750c3e726f2c89322d9ad3870
  • a9294b1 Updated Rector to commit b540db79a8c1f21609c4c51f9fc544cf4f7d6ce7
  • 0bc2f0a Updated Rector to commit 9024bc53bf85850634116675a82266b604e06850
  • 479e93d Updated Rector to commit 5b56397612aa1bb35636468fa3133d306e6277c5
  • 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 Oct 14, 2026
@coderabbitai

coderabbitai Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 5d815ef1-dcab-4895-a15e-4342996cd018

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@thorsten

Copy link
Copy Markdown
Owner

@dependabot rebase

@dependabot
dependabot Bot force-pushed the dependabot/composer/rector/rector-2.7.0 branch from 47369dc to 6a2f287 Compare October 15, 2026 17:08
@thorsten

Copy link
Copy Markdown
Owner

@dependabot rebase

@dependabot
dependabot Bot force-pushed the dependabot/composer/rector/rector-2.7.0 branch from 6a2f287 to e1b78bf Compare October 15, 2026 19:41
Bumps [rector/rector](https://github.com/rectorphp/rector) from 2.6.7 to 2.7.0.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](rectorphp/rector@2.6.7...2.7.0)

---
updated-dependencies:
- dependency-name: rector/rector
  dependency-version: 2.7.0
  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.7.0 branch from e1b78bf to 58f04cc Compare October 16, 2026 17:04
@thorsten
thorsten merged commit e07b574 into main Oct 16, 2026
19 checks passed
@thorsten
thorsten deleted the dependabot/composer/rector/rector-2.7.0 branch October 16, 2026 17:38
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