chore(deps): update dependency rector/rector to v2 #227

Open
Renovate wants to merge 1 commits from renovate/rector-rector-2.x into main
Collaborator

This PR contains the following updates:

Package Type Update Change
rector/rector (source) require-dev major ~1.2.10 -> ~2.0.3

Release Notes

rectorphp/rector (rector/rector)

v2.0.3

Compare Source

v2.0.2

Compare Source

v2.0.1

Compare Source

v2.0.0: Released Rector 2.0

Compare Source

Rector 2.0 is here 🥳

The main purpose of this release is performance improvements, thanks to modern dependencies:

  • php-parser 4.x to 5.0
  • PHPStan 1.x to 2.0
  • and min PHP version 7.2 to 7.4 because of dependencies above

We've managed to fit in couple cool features: 5 New Features in Rector 2.0


For custom rules writers, see upgrading guide. The rest of upgrade is straighforward 🎉


To celebrate the upgrade, we're also modernized our logo! 🤩


New Features and Improvements 🎉

  • Add "--only" option to process only a single rule (#​6441), Thanks @​cweiske!
  • [DX] Add version-based set loading based on installed package version (#​6428)
  • dx] enable polyfills by default when PHP is on, to make config simpler ([#​6433](https://github.com/rectorphp/rector-src/pull/6433))
    
  • dx] enable all attributes, if none are selected to streamline config ([#​6451](https://github.com/rectorphp/rector-src/pull/6451))
    
  • feat: add the option to use the annotation value as an argument to the attribute (#​6468), Thanks @​carlos-granados!
  • feat: add Behat annotations to attributes set (#​6510), Thanks @​carlos-granados!

Deprecated and Removed 💀

  • deprecation] Deprecate AbstractScopeAwareRector in favor of single AbstractRector ([#​6425](https://github.com/rectorphp/rector-src/pull/6425))
    
  • deprecation] Deprecate MixedTypeRector, to avoid mixed type filled blindly, use type declaration set instead ([#​6434](https://github.com/rectorphp/rector-src/pull/6434))
    
  • docs] getRuleDefinition() no longer required for custom rules ([#​6440](https://github.com/rectorphp/rector-src/pull/6440))
    
  • deprecation] Remove deprecated `PublicConstantVisibilityRector`, cleanup deprecated `SetListInterface` ([#​6424](https://github.com/rectorphp/rector-src/pull/6424))
    
  • deprecated] Remove deprecated `AbstractTestCase` ([#​6426](https://github.com/rectorphp/rector-src/pull/6426))
    
    

Bugfixes 🐛

  • Php80] Returns null on no change on ClassPropertyAssignToConstructorPromotionRector ([#​6418](https://github.com/rectorphp/rector-src/pull/6418))
    
  • attributes] Make sure the target attribute class exists ([#​6454](https://github.com/rectorphp/rector-src/pull/6454))
    
  • TypeDeclaration] Skip test methods with exception in ReturnNeverTypeRector, \[php74] Skip conditinal assign in RestoreDefaultNullToNullableTypePropertyRector as most likely desired to assign or fail ([#​6430](https://github.com/rectorphp/rector-src/pull/6430))
    
  • Support php-64bit as required in composer.json (#​6432), Thanks @​hans-thomas!
  • dx] Allow external rules without getRuleDefinition() to make them easier to write ([#​6438](https://github.com/rectorphp/rector-src/pull/6438))
    
  • fix] class phpdoc generic method ([#​6439](https://github.com/rectorphp/rector-src/pull/6439)), Thanks [@​lammafish](https://github.com/lammafish)!
    
  • Fix RemoveDoubleAssignRector in case of method call (#​6442)
  • Upgrade to PHPParser 5 and PHPStan 2 (#​6431)
  • CodeQuality] Handle crash on return array constant on ExplicitReturnNullRector ([#​6458](https://github.com/rectorphp/rector-src/pull/6458))
    
  • Php80] Handle crash single quoted doctrine on AnnotationToAttributeRector ([#​6459](https://github.com/rectorphp/rector-src/pull/6459))
    
  • Php71] Skip already array destruct on ListToArrayDestructRector ([#​6460](https://github.com/rectorphp/rector-src/pull/6460))
    
  • TypeDeclaration] Skip mixed as on right of and on ParamTypeByMethodCallTypeRector ([#​6401](https://github.com/rectorphp/rector-src/pull/6401))
    
  • Renaming] Fix space on union docblock during rename on RenameClassRector ([#​6463](https://github.com/rectorphp/rector-src/pull/6463))
    
  • CodeQuality] Skip used by array callable on LocallyCalledStaticMethodToNonStaticRector ([#​6473](https://github.com/rectorphp/rector-src/pull/6473))
    
  • CodeQuality] Skip compare nullable object on UseIdenticalOverEqualWithSameTypeRector ([#​6474](https://github.com/rectorphp/rector-src/pull/6474))
    
  • Use Type->getIterableValueType() over ArrayType-> getItemType() (#​6479), Thanks @​staabm!
  • DeadCode] Allow remove assign variable with next method call on RemoveDoubleAssignRector ([#​6443](https://github.com/rectorphp/rector-src/pull/6443))
    
  • DeadCode] Handle InterpolatedStringPart crash on RemoveUnusedForeachKeyRector ([#​6457](https://github.com/rectorphp/rector-src/pull/6457))
    
  • DeadCode] Skip used by get_object_vars() when implements JsonSerializable on RemoveUnusedPromotedPropertyRector ([#​6472](https://github.com/rectorphp/rector-src/pull/6472))
    
  • DeadCode] Handle crash on valid conditional type on RemoveUselessReturnTagRector ([#​6475](https://github.com/rectorphp/rector-src/pull/6475))
    
  • Use Type->getIterableKeyType() over ArrayType->getKeyType() (#​6480), Thanks @​staabm!
  • Update developing with docker: Fix php version to 8.2. (#​6490), Thanks @​uncaught!
  • Renaming] Handle docblock aliased rename on RenameClassR\* \[Php81] Allow not readonly property on API Platform api resource ([#​6531](https://github.com/rectorphp/rector-src/pull/6531)), Thanks [@​alexndlm](https://github.com/alexndlm)!
    ector ([#​6498](https://github.com/rectorphp/rector-src/pull/6498))
    
  • CodeQuality]\[Renaming] Handle DynamicDocBlockPropertyToNativePropertyRector+RenameClassRector with aliased name ([#​6506](https://github.com/rectorphp/rector-src/pull/6506))
    
  • TypeDeclaration] Skip with default value and assigned mixed on TypedPropertyFromAssignsRector ([#​6514](https://github.com/rectorphp/rector-src/pull/6514))
    
  • Php80] Mirror comments on assign on ChangeSwitchToMatchRector ([#​6516](https://github.com/rectorphp/rector-src/pull/6516))
    
  • Php70] Handle parent method call on Php4ConstructorRector ([#​6519](https://github.com/rectorphp/rector-src/pull/6519))
    
  • Php70] Do not replace if method call if method exists in current class on call same method with parent on Php4ConstructorRector ([#​6520](https://github.com/rectorphp/rector-src/pull/6520))
    
  • PostRector] Keep first comment before first Use\_ on UnusedImportRemovingPostRector ([#​6522](https://github.com/rectorphp/rector-src/pull/6522))
    
  • Php81] Allow not readonly property on API Platform api resource ([#​6531](https://github.com/rectorphp/rector-src/pull/6531)), Thanks [@​alexndlm](https://github.com/alexndlm)!
    
  • Php81] Skip by ref param on ReadOnlyPropertyRector ([#​6532](https://github.com/rectorphp/rector-src/pull/6532))
    
  • Php70] Handle ArrayDimFetch on WrapVariableVariableNameInCurlyBracesRector ([#​6533](https://github.com/rectorphp/rector-src/pull/6533))
    
  • Fix fixture end ] fixture on NestedAnnotationToAttributeRector (#​6537)
  • Php80] Handle mix quote single and double on AnnotationToAttributeRector ([#​6538](https://github.com/rectorphp/rector-src/pull/6538))
    
  • CodeQuality] Handle crash on yield from on OptionalParametersAfterRequiredRector ([#​6545](https://github.com/rectorphp/rector-src/pull/6545))
    
  • Fix str_contains() never returns 0 (#​6546)
  • CodeQuality] Handle crash on unary minums on OptionalParametersAfterRequiredRector ([#​6547](https://github.com/rectorphp/rector-src/pull/6547))
    
  • CodeQuality] Handle crash on assign ref on OptionalParametersAfterRequiredRector ([#​6551](https://github.com/rectorphp/rector-src/pull/6551))
    
  • Attributes] Cover slash newline in AnnotationToAttributeRector with values ([#​6557](https://github.com/rectorphp/rector-src/pull/6557))
    
  • TypedPropertyFromAssignsRector] Handle parse_url() native function with second arg on TypedPropertyFromAssignsRector ([#​6562](https://github.com/rectorphp/rector-src/pull/6562))
    
  • TypeDeclaration] Handle default value with contant type on TypedPropertyFromAssignsRector ([#​6563](https://github.com/rectorphp/rector-src/pull/6563))
    
  • NodeTypeResolver] Handle namespaced function call name on NodeTypeResolver ([#​6564](https://github.com/rectorphp/rector-src/pull/6564))
    
    

rectorphp/rector-symfony 🎵

  • Fill listener method name, based on kernel.x event name in EventListenerToEventSubscriberRectory (#​694)
  • scoped] Fix scoped prefixed UrlGeneratorInterface on RedirectToRouteRector ([#​692](https://github.com/rectorphp/rector-symfony/pull/692))
    
  • DependencyInjection] Add `GetBySymfonyStringToConstructorInjectionRector` ([#​688](https://github.com/rectorphp/rector-symfony/pull/688))
    
  • DependencyInjection] Add `TraitGetByTypeToInjectRector` ([#​687](https://github.com/rectorphp/rector-symfony/pull/687))
    
  • DependencyInjection] Extract `CommandGetByTypeToConstructorInjectionRector` to make migration smoother ([#​686](https://github.com/rectorphp/rector-symfony/pull/686))
    
  • DependencyInjection] Extract `GetByTypeMethodCallToConstructorInjectionRector` to make migration smoother ([#​685](https://github.com/rectorphp/rector-symfony/pull/685))
    
  • Symfony 7.2] Add SetList ([#​684](https://github.com/rectorphp/rector-symfony/pull/684)), Thanks [@​alamirault](https://github.com/alamirault)
    
  • Upgrade deprecated ScopeAware to AbstractRector (#​680)
  • Fix twig 2.40 set to 2.4 (#​678)
  • deprecation] Remove deprecated rules ([#​677](https://github.com/rectorphp/rector-symfony/pull/677))
    
  • Remove deprecated set list marker (#​676)

rectorphp/rector-doctrine 🟠

  • deprecation] Remove deprecated AddReturnDocBlockToCollectionPropertyGetterByToManyAttributeRector, InitializeDefaultEntityCollectionRector, TypedPropertyFromDoctrineCollectionRector ([#​347](https://github.com/rectorphp/rector-doctrine/pull/347))
    
    

rectorphp/rector-phpunit 🟢

  • PHPUnit] Support list in YieldDataProviderRector ([#​418](https://github.com/rectorphp/rector-phpunit/pull/418)), Thanks [@​staabm](https://github.com/staabm)
    
  • Phpunit] Avoid reprint doc for remove/replace when no [@​return](https://github.com/return) tag on YieldDataProviderRector ([#​417](https://github.com/rectorphp/rector-phpunit/pull/417))
    
  • PHPUnit] Add missing DocblockUpdater usage on YieldDataProviderRector when removing [@​return](https://github.com/return) doc ([#​416](https://github.com/rectorphp/rector-phpunit/pull/416))
    
  • PHPUnit] Change [@&#8203;return](https://github.com/return) array<> to [@&#8203;return](https://github.com/return) Iterator<> on YieldDataProviderRector ([#&#8203;415](https://github.com/rectorphp/rector-phpunit/pull/415))
    
  • CodeQuality] Handle createMock as well in PreferPHPUnitThisCallRector ([#&#8203;407](https://github.com/rectorphp/rector-phpunit/pull/407))
    
  • fix] Keep original message in AssertEqualsOrAssertSameFloatParameterToSpecificMethodsTypeRector ([#&#8203;406](https://github.com/rectorphp/rector-phpunit/pull/406))
    
  • PHPUnit 10] Remove AssertIssetToAssertObjectHasPropertyRector ([#&#8203;405](https://github.com/rectorphp/rector-phpunit/pull/405))
    
  • CodeQuality] Skip possible data provider method called and used as array on YieldDataProviderRector ([#&#8203;404](https://github.com/rectorphp/rector-phpunit/pull/404))
    
    

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

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

Rebasing: Whenever PR becomes conflicted, 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 has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [rector/rector](https://getrector.org) ([source](https://github.com/rectorphp/rector)) | require-dev | major | `~1.2.10` -> `~2.0.3` | --- ### Release Notes <details> <summary>rectorphp/rector (rector/rector)</summary> ### [`v2.0.3`](https://github.com/rectorphp/rector/compare/2.0.2...2.0.3) [Compare Source](https://github.com/rectorphp/rector/compare/2.0.2...2.0.3) ### [`v2.0.2`](https://github.com/rectorphp/rector/compare/2.0.1...2.0.2) [Compare Source](https://github.com/rectorphp/rector/compare/2.0.1...2.0.2) ### [`v2.0.1`](https://github.com/rectorphp/rector/compare/2.0.0...2.0.1) [Compare Source](https://github.com/rectorphp/rector/compare/2.0.0...2.0.1) ### [`v2.0.0`](https://github.com/rectorphp/rector/releases/tag/2.0.0): Released Rector 2.0 [Compare Source](https://github.com/rectorphp/rector/compare/1.2.10...2.0.0) ### **Rector 2.0** is here :partying_face: The main purpose of this release is performance improvements, thanks to modern dependencies: - php-parser 4.x to 5.0 - PHPStan 1.x to 2.0 - and min PHP version 7.2 to 7.4 because of dependencies above <br> We've managed to fit in couple cool features: **[5 New Features in Rector 2.0](https://getrector.com/blog/5-new-features-in-rector-20)** <br> For custom rules writers, see [upgrading guide](https://github.com/rectorphp/rector/blob/main/UPGRADING.md). The rest of upgrade is straighforward :tada: <br> To celebrate the upgrade, we're also modernized our logo! 🤩 <img src="https://github.com/rectorphp/getrector-com/blob/main/public/assets/images/new-logo/rector-square.png?raw=true" width=200> *** #### New Features and Improvements :tada: - **Add "--only" option to process only a single rule ([#&#8203;6441](https://github.com/rectorphp/rector-src/pull/6441)), Thanks [@&#8203;cweiske](https://github.com/cweiske)!** - **\[DX] Add version-based set loading based on installed package version** ([#&#8203;6428](https://github.com/rectorphp/rector-src/pull/6428)) - \[dx] enable polyfills by default when PHP is on, to make config simpler ([#&#8203;6433](https://github.com/rectorphp/rector-src/pull/6433)) - \[dx] enable all attributes, if none are selected to streamline config ([#&#8203;6451](https://github.com/rectorphp/rector-src/pull/6451)) - feat: add the option to use the annotation value as an argument to the attribute ([#&#8203;6468](https://github.com/rectorphp/rector-src/pull/6468)), Thanks [@&#8203;carlos-granados](https://github.com/carlos-granados)! - feat: add Behat annotations to attributes set ([#&#8203;6510](https://github.com/rectorphp/rector-src/pull/6510)), Thanks [@&#8203;carlos-granados](https://github.com/carlos-granados)! <br> #### Deprecated and Removed :skull: - \[deprecation] Deprecate AbstractScopeAwareRector in favor of single AbstractRector ([#&#8203;6425](https://github.com/rectorphp/rector-src/pull/6425)) - \[deprecation] Deprecate MixedTypeRector, to avoid mixed type filled blindly, use type declaration set instead ([#&#8203;6434](https://github.com/rectorphp/rector-src/pull/6434)) - \[docs] getRuleDefinition() no longer required for custom rules ([#&#8203;6440](https://github.com/rectorphp/rector-src/pull/6440)) - \[deprecation] Remove deprecated `PublicConstantVisibilityRector`, cleanup deprecated `SetListInterface` ([#&#8203;6424](https://github.com/rectorphp/rector-src/pull/6424)) - \[deprecated] Remove deprecated `AbstractTestCase` ([#&#8203;6426](https://github.com/rectorphp/rector-src/pull/6426)) <br> #### Bugfixes :bug: - \[Php80] Returns null on no change on ClassPropertyAssignToConstructorPromotionRector ([#&#8203;6418](https://github.com/rectorphp/rector-src/pull/6418)) - \[attributes] Make sure the target attribute class exists ([#&#8203;6454](https://github.com/rectorphp/rector-src/pull/6454)) - \[TypeDeclaration] Skip test methods with exception in ReturnNeverTypeRector, \[php74] Skip conditinal assign in RestoreDefaultNullToNullableTypePropertyRector as most likely desired to assign or fail ([#&#8203;6430](https://github.com/rectorphp/rector-src/pull/6430)) - Support php-64bit as required in composer.json ([#&#8203;6432](https://github.com/rectorphp/rector-src/pull/6432)), Thanks [@&#8203;hans-thomas](https://github.com/hans-thomas)! - \[dx] Allow external rules without getRuleDefinition() to make them easier to write ([#&#8203;6438](https://github.com/rectorphp/rector-src/pull/6438)) - \[fix] class phpdoc generic method ([#&#8203;6439](https://github.com/rectorphp/rector-src/pull/6439)), Thanks [@&#8203;lammafish](https://github.com/lammafish)! - Fix RemoveDoubleAssignRector in case of method call ([#&#8203;6442](https://github.com/rectorphp/rector-src/pull/6442)) - Upgrade to PHPParser 5 and PHPStan 2 ([#&#8203;6431](https://github.com/rectorphp/rector-src/pull/6431)) - \[CodeQuality] Handle crash on return array constant on ExplicitReturnNullRector ([#&#8203;6458](https://github.com/rectorphp/rector-src/pull/6458)) - \[Php80] Handle crash single quoted doctrine on AnnotationToAttributeRector ([#&#8203;6459](https://github.com/rectorphp/rector-src/pull/6459)) - \[Php71] Skip already array destruct on ListToArrayDestructRector ([#&#8203;6460](https://github.com/rectorphp/rector-src/pull/6460)) - \[TypeDeclaration] Skip mixed as on right of and on ParamTypeByMethodCallTypeRector ([#&#8203;6401](https://github.com/rectorphp/rector-src/pull/6401)) - \[Renaming] Fix space on union docblock during rename on RenameClassRector ([#&#8203;6463](https://github.com/rectorphp/rector-src/pull/6463)) - \[CodeQuality] Skip used by array callable on LocallyCalledStaticMethodToNonStaticRector ([#&#8203;6473](https://github.com/rectorphp/rector-src/pull/6473)) - \[CodeQuality] Skip compare nullable object on UseIdenticalOverEqualWithSameTypeRector ([#&#8203;6474](https://github.com/rectorphp/rector-src/pull/6474)) - Use Type->getIterableValueType() over ArrayType-> getItemType() ([#&#8203;6479](https://github.com/rectorphp/rector-src/pull/6479)), Thanks [@&#8203;staabm](https://github.com/staabm)! - \[DeadCode] Allow remove assign variable with next method call on RemoveDoubleAssignRector ([#&#8203;6443](https://github.com/rectorphp/rector-src/pull/6443)) - \[DeadCode] Handle InterpolatedStringPart crash on RemoveUnusedForeachKeyRector ([#&#8203;6457](https://github.com/rectorphp/rector-src/pull/6457)) - \[DeadCode] Skip used by get_object_vars() when implements JsonSerializable on RemoveUnusedPromotedPropertyRector ([#&#8203;6472](https://github.com/rectorphp/rector-src/pull/6472)) - \[DeadCode] Handle crash on valid conditional type on RemoveUselessReturnTagRector ([#&#8203;6475](https://github.com/rectorphp/rector-src/pull/6475)) - Use Type->getIterableKeyType() over ArrayType->getKeyType() ([#&#8203;6480](https://github.com/rectorphp/rector-src/pull/6480)), Thanks [@&#8203;staabm](https://github.com/staabm)! - Update developing with docker: Fix php version to 8.2. ([#&#8203;6490](https://github.com/rectorphp/rector-src/pull/6490)), Thanks [@&#8203;uncaught](https://github.com/uncaught)! - \[Renaming] Handle docblock aliased rename on RenameClassR\* \[Php81] Allow not readonly property on API Platform api resource ([#&#8203;6531](https://github.com/rectorphp/rector-src/pull/6531)), Thanks [@&#8203;alexndlm](https://github.com/alexndlm)! ector ([#&#8203;6498](https://github.com/rectorphp/rector-src/pull/6498)) - \[CodeQuality]\[Renaming] Handle DynamicDocBlockPropertyToNativePropertyRector+RenameClassRector with aliased name ([#&#8203;6506](https://github.com/rectorphp/rector-src/pull/6506)) - \[TypeDeclaration] Skip with default value and assigned mixed on TypedPropertyFromAssignsRector ([#&#8203;6514](https://github.com/rectorphp/rector-src/pull/6514)) - \[Php80] Mirror comments on assign on ChangeSwitchToMatchRector ([#&#8203;6516](https://github.com/rectorphp/rector-src/pull/6516)) - \[Php70] Handle parent method call on Php4ConstructorRector ([#&#8203;6519](https://github.com/rectorphp/rector-src/pull/6519)) - \[Php70] Do not replace if method call if method exists in current class on call same method with parent on Php4ConstructorRector ([#&#8203;6520](https://github.com/rectorphp/rector-src/pull/6520)) - \[PostRector] Keep first comment before first Use\_ on UnusedImportRemovingPostRector ([#&#8203;6522](https://github.com/rectorphp/rector-src/pull/6522)) - \[Php81] Allow not readonly property on API Platform api resource ([#&#8203;6531](https://github.com/rectorphp/rector-src/pull/6531)), Thanks [@&#8203;alexndlm](https://github.com/alexndlm)! - \[Php81] Skip by ref param on ReadOnlyPropertyRector ([#&#8203;6532](https://github.com/rectorphp/rector-src/pull/6532)) - \[Php70] Handle ArrayDimFetch on WrapVariableVariableNameInCurlyBracesRector ([#&#8203;6533](https://github.com/rectorphp/rector-src/pull/6533)) - Fix fixture end `]` fixture on NestedAnnotationToAttributeRector ([#&#8203;6537](https://github.com/rectorphp/rector-src/pull/6537)) - \[Php80] Handle mix quote single and double on AnnotationToAttributeRector ([#&#8203;6538](https://github.com/rectorphp/rector-src/pull/6538)) - \[CodeQuality] Handle crash on yield from on OptionalParametersAfterRequiredRector ([#&#8203;6545](https://github.com/rectorphp/rector-src/pull/6545)) - Fix str_contains() never returns 0 ([#&#8203;6546](https://github.com/rectorphp/rector-src/pull/6546)) - \[CodeQuality] Handle crash on unary minums on OptionalParametersAfterRequiredRector ([#&#8203;6547](https://github.com/rectorphp/rector-src/pull/6547)) - \[CodeQuality] Handle crash on assign ref on OptionalParametersAfterRequiredRector ([#&#8203;6551](https://github.com/rectorphp/rector-src/pull/6551)) - \[Attributes] Cover slash newline in AnnotationToAttributeRector with values ([#&#8203;6557](https://github.com/rectorphp/rector-src/pull/6557)) - \[TypedPropertyFromAssignsRector] Handle parse_url() native function with second arg on TypedPropertyFromAssignsRector ([#&#8203;6562](https://github.com/rectorphp/rector-src/pull/6562)) - \[TypeDeclaration] Handle default value with contant type on TypedPropertyFromAssignsRector ([#&#8203;6563](https://github.com/rectorphp/rector-src/pull/6563)) - \[NodeTypeResolver] Handle namespaced function call name on NodeTypeResolver ([#&#8203;6564](https://github.com/rectorphp/rector-src/pull/6564)) <br> #### rectorphp/rector-symfony :musical_note: - Fill listener method name, based on kernel.x event name in EventListenerToEventSubscriberRectory ([#&#8203;694](https://github.com/rectorphp/rector-symfony/pull/694)) - \[scoped] Fix scoped prefixed UrlGeneratorInterface on RedirectToRouteRector ([#&#8203;692](https://github.com/rectorphp/rector-symfony/pull/692)) - \[DependencyInjection] Add `GetBySymfonyStringToConstructorInjectionRector` ([#&#8203;688](https://github.com/rectorphp/rector-symfony/pull/688)) - \[DependencyInjection] Add `TraitGetByTypeToInjectRector` ([#&#8203;687](https://github.com/rectorphp/rector-symfony/pull/687)) - \[DependencyInjection] Extract `CommandGetByTypeToConstructorInjectionRector` to make migration smoother ([#&#8203;686](https://github.com/rectorphp/rector-symfony/pull/686)) - \[DependencyInjection] Extract `GetByTypeMethodCallToConstructorInjectionRector` to make migration smoother ([#&#8203;685](https://github.com/rectorphp/rector-symfony/pull/685)) - \[Symfony 7.2] Add SetList ([#&#8203;684](https://github.com/rectorphp/rector-symfony/pull/684)), Thanks [@&#8203;alamirault](https://github.com/alamirault) - Upgrade deprecated ScopeAware to AbstractRector ([#&#8203;680](https://github.com/rectorphp/rector-symfony/pull/680)) - Fix twig 2.40 set to 2.4 ([#&#8203;678](https://github.com/rectorphp/rector-symfony/pull/678)) - \[deprecation] Remove deprecated rules ([#&#8203;677](https://github.com/rectorphp/rector-symfony/pull/677)) - Remove deprecated set list marker ([#&#8203;676](https://github.com/rectorphp/rector-symfony/pull/676)) <br> #### rectorphp/rector-doctrine :orange_circle: - \[deprecation] Remove deprecated AddReturnDocBlockToCollectionPropertyGetterByToManyAttributeRector, InitializeDefaultEntityCollectionRector, TypedPropertyFromDoctrineCollectionRector ([#&#8203;347](https://github.com/rectorphp/rector-doctrine/pull/347)) <br> #### rectorphp/rector-phpunit :green_circle: - \[PHPUnit] Support list in YieldDataProviderRector ([#&#8203;418](https://github.com/rectorphp/rector-phpunit/pull/418)), Thanks [@&#8203;staabm](https://github.com/staabm) - \[Phpunit] Avoid reprint doc for remove/replace when no [@&#8203;return](https://github.com/return) tag on YieldDataProviderRector ([#&#8203;417](https://github.com/rectorphp/rector-phpunit/pull/417)) - \[PHPUnit] Add missing DocblockUpdater usage on YieldDataProviderRector when removing [@&#8203;return](https://github.com/return) doc ([#&#8203;416](https://github.com/rectorphp/rector-phpunit/pull/416)) - \[PHPUnit] Change [@&#8203;return](https://github.com/return) array<> to [@&#8203;return](https://github.com/return) Iterator<> on YieldDataProviderRector ([#&#8203;415](https://github.com/rectorphp/rector-phpunit/pull/415)) - \[CodeQuality] Handle createMock as well in PreferPHPUnitThisCallRector ([#&#8203;407](https://github.com/rectorphp/rector-phpunit/pull/407)) - \[fix] Keep original message in AssertEqualsOrAssertSameFloatParameterToSpecificMethodsTypeRector ([#&#8203;406](https://github.com/rectorphp/rector-phpunit/pull/406)) - \[PHPUnit 10] Remove AssertIssetToAssertObjectHasPropertyRector ([#&#8203;405](https://github.com/rectorphp/rector-phpunit/pull/405)) - \[CodeQuality] Skip possible data provider method called and used as array on YieldDataProviderRector ([#&#8203;404](https://github.com/rectorphp/rector-phpunit/pull/404)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xODEuNiIsInVwZGF0ZWRJblZlciI6IjM3LjE4MS42IiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Renovate added 1 commit 2024-12-21 00:08:59 +00:00
chore(deps): update dependency rector/rector to v2
All checks were successful
repod / xml (push) Successful in 31s
repod / php (push) Successful in 55s
repod / nodejs (push) Successful in 57s
repod / release (push) Has been skipped
45369509aa
All checks were successful
repod / xml (push) Successful in 31s
repod / php (push) Successful in 55s
repod / nodejs (push) Successful in 57s
repod / release (push) Has been skipped
This pull request can be merged automatically.
You are not authorized to merge this pull request.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/rector-rector-2.x:renovate/rector-rector-2.x
git checkout renovate/rector-rector-2.x
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Xefir/repod#227
No description provided.