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

build(deps-dev): update rector/rector requirement from ^0.17 to ^0.19 #841

Merged
merged 1 commit into from
Jan 13, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 9, 2024

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

Release notes

Sourced from rector/rector's releases.

Released Rector 0.19.0

In this release we merged 2 directories into /src to speed up class loading and make work with code easier. This leads to BC change in namespace for your custom rules:

-use Rector\Core\
+use Rector\

That's it!

New Features 🥳

  • [psr-4] Move /packages directory to /src under single Rector\ namespace (#5414)
  • [Arguments] Allow no default value on ArgumentAdderRector (#5382)
  • Add related polyfill interface to other PHP 8.0/7.3 rules (#5389)
  • [CodingStyle] Add RemoveUselessAliasInUseStatementRector (#5394)
  • [Php83] Add CombineHostPortLdapUriRector (#5397)
  • [TypeDeclaration] optionally only add types for hard coded return values in ReturnTypeFromStrictScalarReturnExprRector (#5364), Thanks @​RobertMe!
  • Add phpstan native cond types for getName() for nodes that always return a string (#5413)
  • [Strict] Add StaticProperty supporton may be unitialized static property on DisallowedEmptyRuleFixerRector (#5428)
  • [Php83] Add implements interface support on AddOverrideAttributeToOverriddenMethodsRector (#5429)
  • [cs] Make use of new ECS config (#5445)

Bugfixes 🐛

  • [TypeDeclaration] Add false and true in union support on ReturnUnionTypeRector (#5355)
  • Skip classes without final and exception as possibly invoke child implement in AddVoidReturnTypeWhereNoReturnRector (#5381)
  • Skip non-final class method with no content in AddVoidReturnTypeWhereNoReturnRector (#5386)
  • [TypeDeclaration] Allow add void return type on magic __invoke() method on AddVoidReturnTypeWhereNoReturnRector (#5376)
  • Add ReturnTypeFromStrictBoolReturnExprRector support for if/else returns (#5384)
  • Skip void without final keyword in ReturnNeverTypeRector as could be implemented with more precise children (#5379)
  • Fix StrictArrayParamDimFetchRector for string access (#5383)
  • Fix variable to property fetch update in ClassPropertyAssignToConstructorPromotionRector (#5385)
  • [Php] Fix filter cache on PolyfillPackagesProvider (#5390)
  • [Parallel] Fix missing --xdebug in WorkerCommand line on WorkerCommandLineFactory when --xdebug provided (#5398)
  • Bump phpstan to 1.10.50 (#5399)
  • [Php83] Handle dynamic host and port values on CombineHostPortLdapUriRector (#5401)
  • [config] Extract RectorConfigValidator and handle config validation there (#5404)
  • [psr-4] Update Rector core test reference (#5410)
  • [cleanup] Decouple changelog generator (#5412)
  • [Strict] Handle may be unitialized property on DisallowedEmptyRuleFixerRector (#5409)
  • Bump min. version to PHP 8.2 - readonly classes (#5415)
  • Decouple LongAndDependentComplexRectorRule to cognitive-complexity package (#5427)
  • [TypeDeclaration] Skip with empty() check on StrictArrayParamDimFetchRector (#5432)
  • [TypeDeclaration] Allow both integer and string index array on StrictArrayParamDimFetchRector (#5433)
  • [TypeDeclaration] Skip re-assign with call and use as arg on StrictArrayParamDimFetchRector (#5434)
  • [CodeQuality] Handle crash with call inside loop on SimplifyForeachToCoalescingRector (#5436)

... (truncated)

Commits
  • 503f4ea Rector 0.19.0
  • b911b34 Updated Rector to commit 32d5fce356ebe91267278ee8d3b574c928cf15d6
  • 0a2b185 Updated Rector to commit 08ac19c956c2608188bca81044034bc2590a8d55
  • f775017 Updated Rector to commit e3ccf175943f4b44c521029c090c6907b83d4a6c
  • 911e446 Updated Rector to commit 7e566722a08a546858fa67d73915c9dff9a0c018
  • bddc91b Updated Rector to commit b71c3265d5f90745d52b081a1201e3d97617e14a
  • 2a79360 Updated Rector to commit 7f2155d5c0058a002790c05cae54b49405e154ac
  • 33f8d9f Updated Rector to commit 3751c94d26dc1bd8a7a1699f64d0c983dfd11a9f
  • 816ddfc Updated Rector to commit 2f5a252ea9bac10994e08623e9371ec132045880
  • dd2b386 Updated Rector to commit c9608a0f11d8a58224b33c8d2695f210a81816bc
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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.17.0...0.19.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 Jan 9, 2024
Copy link

cloudflare-workers-and-pages bot commented Jan 9, 2024

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: ff5e949
Status: ✅  Deploy successful!
Preview URL: https://2a0b4e96.laravel-wallet.pages.dev
Branch Preview URL: https://dependabot-composer-rector-r-s52m.laravel-wallet.pages.dev

View logs

Copy link

github-actions bot commented Jan 9, 2024

Qodana for PHP

It seems all right 👌

No new problems were found according to the checks applied

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at [email protected]

Copy link

codecov bot commented Jan 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (e8ffe9c) 100.00% compared to head (ff5e949) 100.00%.

Additional details and impacted files
@@             Coverage Diff             @@
##              master      #841   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
  Complexity       552       552           
===========================================
  Files             83        83           
  Lines           1949      1949           
===========================================
  Hits            1949      1949           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rez1dent3 rez1dent3 merged commit 779ef28 into master Jan 13, 2024
109 checks passed
@dependabot dependabot bot deleted the dependabot/composer/rector/rector-tw-0.19 branch January 13, 2024 06:18
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