Skip to content
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

Update rector/rector requirement from ^0.13 to ^0.14 #544

Merged
merged 1 commit into from
Aug 19, 2022

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 18, 2022

Updates the requirements on rector/rector to permit the latest version.

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 🎉 🥳

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 🥳

  • [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 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)

Updates the requirements on [rector/rector](https://github.com/rectorphp/rector) to permit the latest version.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](rectorphp/rector@0.13.0...0.14.0)

---
updated-dependencies:
- dependency-name: rector/rector
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Aug 18, 2022
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Aug 18, 2022

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 709bdb2
Status: ✅  Deploy successful!
Preview URL: https://4c59d8d4.laravel-wallet.pages.dev
Branch Preview URL: https://dependabot-composer-rector-r-qno2.laravel-wallet.pages.dev

View logs

@codecov
Copy link

codecov bot commented Aug 18, 2022

Codecov Report

Merging #544 (6f242d7) into master (b8028a1) will not change coverage.
The diff coverage is n/a.

❗ Current head 6f242d7 differs from pull request most recent head 709bdb2. Consider uploading reports for the commit 709bdb2 to get more accurate results

@@             Coverage Diff             @@
##              master      #544   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
  Complexity       436       436           
===========================================
  Files             70        70           
  Lines           1338      1338           
===========================================
  Hits            1338      1338           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@rez1dent3 rez1dent3 merged commit 64d7598 into master Aug 19, 2022
@dependabot dependabot bot deleted the dependabot/composer/rector/rector-tw-0.14 branch August 19, 2022 05:20
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 php Pull requests that update Php code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant