Skip to content

Update dependency rector/rector to ^2.1.1 #1048

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 11, 2025

This PR contains the following updates:

Package Change Age Confidence
rector/rector (source) ^2.1.0 -> ^2.1.1 age confidence

Release Notes

rectorphp/rector (rector/rector)

v2.1.1: Released Rector 2.1.1

Compare Source

New Features 🥳


Bugfixes 🐛

  • [CodeQuality] Properly handle Goto_ on ExplicitReturnNullRector (#​7018)
  • [Php84] Skip non-array on ForeachToArray* rules (#​7023)
  • [Console] Handle hidden "process" with --option without = on ConsoleApplication (#​7022)
  • [Php80] Handle with property hook on ClassPropertyAssignToConstructorPromotionRector (#​7024)
  • [Scoped] Exclude DateRangeError on Scoper for prefixing (#​7027)
  • [Php84] Handle multi lines text on DeprecatedAnnotationToDeprecatedAttributeRector (#​7028)
  • [Php55] Avoid $scope = ScopeFetcher::fetch($node); when not needed on GetCalledClassToStaticClassRector (#​7029)
  • Fix crash on ExactCompareFactory::createBooleanAnd/Or (#​7031)
  • Move ScopeFetcher::fetch() to near its usage (#​7032)
  • [CodeQuality][Php84] Handle crash on ForeachToArrayFindRector+OptionalParametersAfterRequiredRector (#​7033)
  • [Php84] Skip foreach value used after foreach on ForeachToArray* rules (#​7034)
  • [Php84] Handle key used on conditional on ForeachToArray* rules (#​7035)
  • [code-quality] Make ctor defined dynamic properties private, as most probably case (#​7036)
  • [PostRector] Keep first comment after declare(strict_types=1) on UnusedImportRemovingPostRector (#​7042)
  • [Php80] Make configurable to allow skip on model based classes on ClassPropertyAssignToConstructorPromotionRector (#​7043)
  • [Kaizen] Save kaizen applied rules into cache to make works on parallel (#​7046)
  • [Kaizen] No need filter unchanged files when --kaizen is used (#​7050)
  • [Kaizen] When no files changed, early return empty on FilesFinder, even on kaizen (#​7051)
  • [Kaizen] Enforce clear cache when there is files changed + kaizen enabled (#​7052)
  • Fix ambiguous variable name (#​7053)
  • [Php84] Handle with space on message like class name constant on DeprecatedAnnotationToDeprecatedAttributeRector (#​7056)
  • [CodeQuality] LogicalToBooleanRector should add parentheses on equal (#​7048)
  • [Kaizen] Remove unneeded clean kaizen cache since all cache cleared early when there are files to be changed + kaizen enabled (#​7054)



rectorphp/rector-symfony 🎵

  • Fix code style issues (#​810), Thanks @​mttsch
  • [Symfony 74] Rename Application::add() to Application::addCommand() (#​809), Thanks @​mttsch
  • Fix links to Symfony 7.2/7.3 upgrade documents (#​808), Thanks @​mttsch
  • [Symfony 7.3] Handle existing named array arguments in ConstraintOptionsToNamedArgumentsRector (#​807), Thanks @​gharlan
  • [Symfony 73] add ConstraintOptionsToNamedArgumentsRector (#​806), Thanks @​pedrocasado
  • Twig attributes: make methods public (#​805), Thanks @​gharlan
  • AddVoteArgumentToVoteOnAttributeRector (#​804), Thanks @​tugmaks
  • [CodeQuality] Skip first class callable on StringCastDebugResponseRector (#​803)
  • [code-quality] Add StringCastDebugResponseRector (#​802)
  • add casting to string to AssertSameResponseCodeWithDebugContentsRector as response can be null, and message requires string (#​801)

rectorphp/rector-doctrine 🟠


rectorphp/rector-phpunit 🟢


Configuration

📅 Schedule: Branch creation - Every 3 hours, between 06:00 AM and 10:59 PM, Monday through Friday ( * 6-22/3 * * 1-5 ), Every 3 hours, between 12:00 PM and 11:59 PM, only on Sunday and Saturday ( * 12-23/3 * * 0,6 ) in timezone Europe/Amsterdam, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added Dependencies 📦 Pull requests that update a dependency file PHP 🐘 Hypertext Pre Processor labels Jul 11, 2025
@renovate renovate bot requested a review from WyriHaximus as a code owner July 11, 2025 04:45
@renovate renovate bot added Dependencies 📦 Pull requests that update a dependency file PHP 🐘 Hypertext Pre Processor labels Jul 11, 2025
Copy link

github-actions bot commented Jul 11, 2025

🏰 Composer Production Dependency changes 🏰

Prod Packages Operation Base Target Link
rector/rector Upgraded 2.1.0 2.1.1 Compare

@github-actions github-actions bot added this to the 7.6.0 milestone Jul 11, 2025
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 JSON 👨‍💼 PHP 🐘 Hypertext Pre Processor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants