Skip to content

[Conductor] Update rector/rector to 2.1.2#4

Merged
pscheit merged 1 commit intomainfrom
conductor-rector-rector-43630
Jul 22, 2025
Merged

[Conductor] Update rector/rector to 2.1.2#4
pscheit merged 1 commit intomainfrom
conductor-rector-rector-43630

Conversation

@private-packagist
Copy link
Copy Markdown
Contributor

@private-packagist private-packagist Bot commented Jul 10, 2025

This PR was automatically generated by Conductor.

The PR contains the changes generated by running the following command:

composer update rector/rector:2.1.2 --with-all-dependencies --minimal-changes

Changelog

rector/rector (Source: GitHub Releases))

2.1.1

New Features 🥳

  • [Php84] Add message name on multilines on DeprecatedAnnotationToDeprecatedAttributeRector (#7030)
  • Add SortNamedParamRector (#7047), Thanks @​VincentLanglet!

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 🟢

  • feat: make AddCoversClassAttributeRector configurable (#502), Thanks @​canvural
  • Support PHPUnit 12 in composer based set (#501), Thanks @​alleknalle
  • [Attribute] Handle comment below @​dataProvider doc on DataProviderAnnotationToAttributeRector (#500)
  • [code-quality] Add StringCastAssertStringContainsStringRector (#498)

Task options

If you close the PR, the task will be skipped and Conductor will schedule the next task. Clicking the "Skip" button in the UI has the same effect. Conductor won't attempt to update the dependency to this exact version again but it will schedule updates to newer versions.


Powered by Private Packagist

@private-packagist
Copy link
Copy Markdown
Contributor Author

private-packagist Bot commented Jul 10, 2025

composer.lock

Dev Package changes

Package Operation From To About
phpstan/phpstan upgrade 2.1.17 2.1.18 diff
rector/rector upgrade 2.1.0 2.1.2 diff

Settings · Docs · Powered by Private Packagist

@github-actions github-actions Bot force-pushed the conductor-rector-rector-43630 branch from a374d2b to 38b5220 Compare July 17, 2025 19:35
Conductor executed the following commands:
composer update rector/rector:2.1.2 --with-all-dependencies --minimal-changes
@private-packagist
Copy link
Copy Markdown
Contributor Author

The composer.lock diff comment has been updated to reflect new changes in this PR.

@private-packagist private-packagist Bot force-pushed the conductor-rector-rector-43630 branch from 38b5220 to 84118e5 Compare July 17, 2025 19:36
@private-packagist private-packagist Bot changed the title [Conductor] Update rector/rector to 2.1.1 [Conductor] Update rector/rector to 2.1.2 Jul 17, 2025
@pscheit pscheit merged commit 15ebdd4 into main Jul 22, 2025
1 check passed
@private-packagist private-packagist Bot deleted the conductor-rector-rector-43630 branch July 22, 2025 09:11
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