yiisoft / yii-gii

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

Update rector/rector requirement from ^0.14.3 to ^0.17.3 #102

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

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

Release notes

Sourced from rector/rector's releases.

Released Rector 0.17.3

In this release we continue preparing for Rector 1.0 release rectorphp/rector#7854

This includes removing last parent node connections, to lower node tree memory consumption 🥳️🥳️🥳️

  • [EarlyReturn] Remove findFirstNext() on InvertedIfFactory (#4399)
  • [DX] Remove findParentType() method (#4438)
  • [DX] Remove parent node from AbstractRector (#4465)

New Features :partying_face:

  • Add float mul integer type to NumericReturnTypeFromStrictScalarReturnsRector (#4376)
  • [TypeDeclaration] Add Encapsed string support to AlwaysStrictScalarExprAnalyzer (#4382)
  • [TypeDeclaration] Add StrictArrayParamDimFetchRector (#4384)
  • [DX] Kick of SimpleParameterProvider (#4405)

Bugfixes :bug:

  • [DeadCode] Skip non typed param numeric check on RecastingRemovalRector (#4390)
  • [Renaming] Handle crash on catch Exception name on RenameClassRector (#4401)
  • Fix NumericReturnTypeFromStrictScalarReturnsRector for non-natively-typed parameters (#4380), Thanks @​staabm!
  • [Php82] Skip extends unknown class on ReadonlyClassRector (#4408)
  • [TypeDeclaration] Handle crash on no namespace with + operation on DeclareStrictTypesRector (#4414)
  • [NodeTypeResolver] Reduce duplicated Scope fill on FuncCall (#4428)
  • Make JsonThrowOnErrorRector work with local scope to detect error_json methods (#4451)
  • Deprecate resolveNextNode() to work only in current node tree context (#4455)
  • [Naming] Skip used on next foreach on RenameForeachValueVariableToMatchExprVariableRector (#4469)

Removed :skull:

  • Remove duplicate ReturnNeverTypeRector rule (#4381), Thanks @​buffcode!
  • [MysqlToMysqli] Deprecate set, as dangerous to use, better handle manually (#4448)
  • [DX] Make use of SimpleParameterProvider directly, deprecate RectorConfigProvider (#4460)
  • [Performance] Immediate remove UnreachableStatementNodeVisitor object after traverse to avoid re-use in next file (#4417)
  • [NodeTypeResolver] Remove ArrayItem scope filling from Array_ and Name filling for Catch types on PHPStanNodeScopeResolver (#4423)
  • [PHP 8] Resources object upgrade - remove 2 rules as the upgrade require wholesome manual work (#4442)
  • [DeadCode] Remove RemoveJustVariableAssignRector as often done on purpose or with side effect (#4450)
  • Remove deprecated resolveNextNode() to embrace local scope node (#4456)
  • [DX] Remove node connecting traverser from AbstractRector (#4463)
  • Remove NodeConnectingTraverser (#4464)
  • [DX] Remove autowrapping of expr/stmt to make return values in the same type and reliable (#4466)
Commits
  • dbd0b13 Rector 0.17.3
  • 5f68d82 Updated Rector to commit 284596d4b976784ebe973370e2ed93d0e9977d90
  • 94fef75 Updated Rector to commit 284596d4b976784ebe973370e2ed93d0e9977d90
  • 56adf23 Updated Rector to commit bed225d99e487388a60785fdb898fc997d3f759c
  • 474e8a7 Updated Rector to commit 28412a49f7bd52094196e659ec0c68f9642c08b1
  • 2d46a8a Updated Rector to commit 5b64258e7c9628d80fa3247a698c646def55dca4
  • 3f51587 Updated Rector to commit 3cc636540bccf0fc647ff13e1bea212c6bfa4962
  • 484c94d Updated Rector to commit 868612ae6bac93afe8d9aea8fd7d2fb6c6306991
  • 9bef885 Updated Rector to commit a771c5621971eb1c527c75de17119a82ac8294e6
  • 11aabec Updated Rector to commit 5c85bb6c455815d93d2026b430983ab28fb8d46e
  • 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)
what-the-diff[bot] commented 1 year ago

PR Summary

dependabot[bot] commented 1 year ago

Superseded by #103.