Skip to content

Bump rector/rector from 0.12.23 to 0.13.10

Wesley Klop requested to merge dependabot/composer/rector/rector-0.13.10 into develop

Created by: dependabot[bot]

Bumps rector/rector from 0.12.23 to 0.13.10.

Release notes

Sourced from rector/rector's releases.

Released Rector 0.13.10

New Features 🎉

  • [Php80] Add MixedTypeRector (#2701)
  • [CodingStyle] Skip has static call call non static method on StaticArrowFunctionRector and StaticClosureRector (#2713)
  • [Doc] Add documentation for parallel troubleshooting (#2722), Thanks @​rafaelbernard!
  • Add class-string typehint to MethodCallRename (#2726), Thanks @​alexander-schranz!

Bugfixes 🐛

  • [Php81] Skip Doctrine ORM MappedSuperClass attribute on ReadOnlyPropertyRector (#2712)
  • [CodeQuality][CodingStyle] Handle crash assert($subStartPos >= 0 && $subEndPos >= 0) on combination CodeQuality and CodingStyle rules (#2707)
  • [DeadCode] Handle crash on negation class const fetch with static:: and parent:: on RemoveDeadZeroAndOneOperationRector (#2714)
  • [DowngradePhp81] Handle no scope on DowngradeFirstClassCallableSyntaxRector inside ArrayItem (#2709)
  • Fix/do not inline constructor default when readonly (#2720), Thanks @​kpn13!
  • Fix/early return inline constructor default 7319 (#2716), Thanks @​kpn13!
  • [TypeDeclaration] Handle crash on intersection in Union type on AddMethodCallBasedStrictParamTypeRector (#2704)
  • [DeadCode] Skip RemoveAlwaysTrueIfConditionRector on property use by @​var docblock (#2717)
  • Apply ParametersAcceptorSelectorVariantsWrapper::select() take 2 (#2718)
  • ExplicitMethodCallOverMagicGetSetRector fix (#2719), Thanks @​MartinMystikJonas!
  • [Php56] Skip already initialized on next Stmt on AddDefaultValueForUndefinedVariableRector (#2721)
  • [Php56] Ensure return null on empty variable initialization after check with existing stmts on AddDefaultValueForUndefinedVariableRector (#2723)
  • [Php56] Handle jump not Expression stmt next initialized on AddDefaultValueForUndefinedVariableRector (#2725)

Released Rector 0.13.9

New Features 🎉

  • [CodingStyle] Add StaticArrowFunctionRector (#2657)
  • [CodingStyle] Add StaticClosureRector (#2658)
  • [Php80] Add implements interface support on single file on AddParamBasedOnParentClassMethodRector (#2660
  • [PHP 8.1] Extend MyCLabsMethodCallToEnumConstRector with getValue() and static call (#2695)
  • [PHP 8.1] Keep use stmts in MyCLabsClassToEnumRector enum (#2696)
  • Add AddReturnTypeDeclarationBasedOnParentClassMethodRector (#2666), Thanks @​MartinMystikJonas!
  • [DX] Add input validation for method, property and function name to avoid invalid output ast (#2668)
  • Improve namespace names validation (#2670)

Bugfixes 🐛

  • [DeadCode] Skip global and static variable on RemoveJustVariableAssignRector (#2641)
  • [DeadCode] Skip global and static variable on ReturnEarlyIfVariableRector (#2642)
  • [StrictTypes] Add MethodCall/StaticCall to ExclusiveNativeCallLikeReturnMatcher (#2646)
  • [TypeDeclaration] Add assigned new to variable in ReturnTypeFromReturnNewRector (#2647)
  • DependencyClassMethodDecorator: Prevent duplication of arguments (#2643), Thanks @​jtojnar!
  • [TypeDeclaration] Skip Type modified between Assign and Return_ on ReturnTypeFromReturnNewRector (#2650)
  • [TypeDeclaration] Skip modififed type between assign and return on ReturnTypeFromStrictNewArrayRector (#2651)
  • [Php74] Skip TypedPropertyRector on final class by @​final docblock (#2654)
  • [DeadCode] Handle crash on indirect parent BinaryOp on RemoveDuplicatedInstanceOfRector (#2656), #7293
  • [TypeDeclaration] Skip property exists in parent on TypedPropertyFromStrictConstructorRector (#2659)
  • Fix test to only resolve to known classes (#2663), Thanks @​dritter!

... (truncated)

Commits
  • d1e069d Rector 0.13.10
  • 9063100 Updated Rector to commit f99f19cd4328009bad8aaeab7d80f7d920628bca
  • 1d28ca1 Updated Rector to commit 5ec4cff203f68d9578719b54ce3a145efb32bc79
  • ba5b70e Updated Rector to commit ff1ba898a37496e467c64dc6428d0de8f097ef58
  • a6d8dc9 Updated Rector to commit 34cdbb73b4ba988dc143cc70eec766efa81f3345
  • 8e833e3 Updated Rector to commit c19b953b849e12a67e506c536f9dedaf6c9185cb
  • 3bfd3cd Updated Rector to commit 7ca5096c12deb3d0619bfcf3ed61b0b6e6737b35
  • 6420a4d Updated Rector to commit ec291c4358636e29c026f2d42d575470cde25c76
  • c4c1698 Updated Rector to commit d94353a0acb59823bb74013eb084dd6b302011f5
  • 8648c0b Updated Rector to commit 8df791240b3896a75d6a3f45db3d3d64a5fd690f
  • 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

Merge request reports