yiisoft / yii-gii

Yii code generator extension
https://www.yiiframework.com/
BSD 3-Clause "New" or "Revised" License
33 stars 19 forks source link

Update rector/rector requirement from ^0.18.4 to ^0.19.0 #119

Closed dependabot[bot] closed 9 months ago

dependabot[bot] commented 9 months ago

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 :partying_face:

  • [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 :bug:

  • [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 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)
what-the-diff[bot] commented 9 months ago

PR Summary

codecov[bot] commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (31d9506) 39.72% compared to head (10a6595) 39.63%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #119 +/- ## ============================================ - Coverage 39.72% 39.63% -0.10% Complexity 226 226 ============================================ Files 33 33 Lines 871 873 +2 ============================================ Hits 346 346 - Misses 525 527 +2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.