Skip to content

Bump rector/rector from 0.12.23 to 0.14.0

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

Created by: dependabot[bot]

Bumps rector/rector from 0.12.23 to 0.14.0.

Release notes

Sourced from rector/rector's releases.

Released Rector 0.14

First, we're just passed great achievement. Rector has pased over 10 000 000 downloads 🎉 :partying_face:

Thank you for joining us on this adventurous journey. Slowly but surely we're removing legacy code from codebases all over the world 🙏 👍

2 Community Packages

In Rector 0.14, 2 Rector extensions have matured enough to become standalone packages. We've decided to move them from the core closer to their own communities. Where they can grow faster and with inline of their community standards 👍 👪

Typo3 and Nette are now moved from Rector core to their own repositories:

Read more about it in a post from our blog.

New Features :partying_face:

  • [tests] Add Ability to yield files with names (#2732), Thanks @​Wirone!
  • [TypedDeclaration] Add MockObject property type support to TypedPropertyFromAssignsRector (#2737)
  • [TypeDeclaration] Make anonymous class return specific type, if implements (#2738)
  • Improve ReturnTypeWillChangeRector to handle any method of defined type; move PhpDocFromTypeDeclarationDecorator to Downgrade rules (#2754)
  • [Php73] Add Method Call support on on IsCountableRector (#2762)

Bugfixes 🐛

  • [Php80] Skip default no stmt next is case on ChangeSwitchToMatchRector (#2728)
  • [DeadCode] Skip RemoveAlwaysTrueIfConditionRector on property use by @​var docblock on Trait (#2729)
  • [Php80][TypeDeclaration] Handle UnionTypesRector+AddArrayReturnDocTypeRector on auto import FullyQualified doc (#2730)
  • [DeadCode] Handle assign in If_ cond on RemoveUnusedNonEmptyArrayBeforeForeachRector (#2734)
  • [Php80] Preserve int key defined not start from 0 on AnnotationToAttributeRector (#2735)
  • [TypeDeclaration] Skip data providers in AddArrayReturnDocTypeRector, they're overly complex and not helpful to type (#2736)
  • [CodingStyle] Fix re-print of self in PreferThisOrSelfMethodCallRector (#2759)
  • [Php54][Php80] Handle no scope on LongArrayToShortArrayRector+AnnotationToAttributeRector (#2749)
  • [Php81] Skip Encapsed on NullToStrictStringFuncCallArgRector (#2744)
  • [CodeQuality] Skip not ArrayType on ForeachItemsAssignToEmptyArrayToAssignRector (#2752)
  • AddReturnTypeDeclarationBasedOnParentClassMethodRector fix mixed return type by parent interface (#2755), Thanks @​MartinMystikJonas!
  • [Php73] Skip escaped Dash on RegexDashEscapeRector (#2753), Thanks @​ebrigham1!
  • [CodeQuality][Up_TO_PHP_81] Handle crash indentation on combination LevelSetList::UP_TO_PHP_81 with SetList::CODE_QUALITY (#2760)
  • [Php81] Handle crash on Crypt() single arg on NullToStrictStringFuncCallArgRector (#2767)
  • [Php80] Handle trailing comma on AnnotationToAttributeRector on Doctrine JoinColumn (#2766)
  • [CodeQuality][Up_TO_PHP_81] Handle crash indentation on combination LevelSetList::UP_TO_PHP_81 with SetList::CODE_QUALITY - take 2 (#2763)
  • [DeadCode] Fix RemoveUnusedPrivateMethodParameterRector args keys re-order (#2770)
  • [Php55] Handle no quote in backslash on PregReplaceEModifierRector (#2771)

... (truncated)

Commits
  • fbb3acc Rector 0.14.0
  • 616efdc Updated Rector to commit 27b891b219cc9bfed6540a6abfbfa762e1cc2aaf
  • 050ff0c Updated Rector to commit 27b891b219cc9bfed6540a6abfbfa762e1cc2aaf
  • d790bd4 Updated Rector to commit d86e5992e8d07d92e1278dcc03373432c79814e5
  • ca700cc Updated Rector to commit ba423e225f6ea54b58ea157a6dde4f8f7eae9e70
  • 1539934 Updated Rector to commit 244fb1cebce834698e9d6f5a67a3d3552addf49d
  • 88ec8c8 Updated Rector to commit 03ed0369d06db544927966ec97b5f380a11e0751
  • 3b5a718 Updated Rector to commit 1f6cea323ef7a3125c8fe56958e71ad4dd9944c7
  • d771949 Updated Rector to commit 2977d091b2a7dfcddf855c376534a835876e3ffd
  • 9fdeaca Updated Rector to commit 933eb1353d193ca90bdb02265039469c620ad46f
  • 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