Skip to content

chore(deps-dev): Bump rector/rector from 2.6.3 to 2.7.0 in /vendor-bin/rector - #368

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

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/composer/vendor-bin/rector/rector/rector-2.7.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 10, 2026

Copy link
Copy Markdown
Contributor

Bumps rector/rector from 2.6.3 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 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.3 to 2.7.0.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](rectorphp/rector@2.6.3...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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants