yiisoft / yii-gii

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

Update rector/rector requirement from ^0.14.3 to ^0.17.6 #105

Closed dependabot[bot] closed 11 months ago

dependabot[bot] commented 11 months ago

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

Release notes

Sourced from rector/rector's releases.

Released Rector 0.17.6

In this release, we narrowed rules from PHPUit and Doctrine to their specific version category. We've detected few outdated and never used rules and cleaned them up to make Rector smaller and easier to use :+1:

Be use to always use *SetList constants over specific rules to use the latest version:

use Rector\Config\RectorConfig;

return static function (RectorConfig $rectorConfig): void { $rectorConfig->sets([ \Rector\PHPUnit\Set\PHPUnitLevelSetList::UP_TO_PHPUNIT_100, ]); };

New Features :partying_face:

  • Add PHPUnit to sets (#4495)
  • [CI] Add PHPUnit 10 to check rules and sets groups (#4500)
  • [CI] Add doctrine rules in set check (#4505)

Bugfixes :bug:

  • [Performance] Only set Attribute on context inside ArrayDimFetch and ArrayItem on specific node used (#4493)
  • [Php52] Use instanceof check instead of compare object $newStmt === $caseStmt on ContinueToBreakInSwitchRector (#4494)
  • Exclude the full docs folder from archives (#4497), Thanks @​stof!
  • Cleanup RecastingRemovalRector tests (#4498)
  • Move Rector order test to PHPUnit, as uses its rules (#4499)
  • let phpunit handle its own empty method rule (#4501), Thanks @​staabm!
  • Micro optimizations: cheap checks first (#4510), Thanks @​staabm!
  • Skip coalsce assign in RemoveUnusedPrivatePropertyRector (#4491)
  • [DeadCode] Skip append += assignment on RemoveUnusedPrivatePropertyRector (#4506)
  • [AstResolver][Performance] Remove unnecessary double File read on AstResolver::parseFileNameToDecoratedNodes() (#4508)

Removed :skull:

  • [NodeTypeResolver] Remove unused AttributeKey::INSIDE_ARRAY_ITEM on ContextNodeVisitor (#4496)
  • [NodeTypeResolver] Remove AttributeKey::IS_RETURN_EXPR from ContextNodeVisitor (#4502)
  • [NodeTypeResolver] Remove AttributeKey::IS_ISSET_VAR from ContextNodeVisitor (#4503)
  • [NodeTypeResolver] Remove nestedChainMethodCallLimit() for deep method call counter check (#4504)
Commits
  • ec40080 Rector 0.17.6
  • b42f145 Updated Rector to commit baa394358b3dc76f6db5a003b226948ab9b32045
  • a09f711 Updated Rector to commit a12242df2ad756d59d6f214b3f727dedc0598704
  • ea78b6c Updated Rector to commit a12242df2ad756d59d6f214b3f727dedc0598704
  • 1463cdd Updated Rector to commit d64a761597a5e2f8b9158c770dcad5de08286f69
  • 6f18436 Updated Rector to commit 8537bbd52a5b9d8aa619326b750df6dcb1b30f32
  • 4da4f21 Updated Rector to commit 8537bbd52a5b9d8aa619326b750df6dcb1b30f32
  • ef7c42a Updated Rector to commit 398baa2c6aa2af11d0a391bd0d2a71dfb71eebcf
  • 0a29dbd Updated Rector to commit 398baa2c6aa2af11d0a391bd0d2a71dfb71eebcf
  • 5cbdbd7 Updated Rector to commit 295a01c49f086ab6c442f4287d0dded308cc8a6e
  • 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 11 months ago

PR Summary

codecov[bot] commented 11 months ago

Codecov Report

Patch and project coverage have no change.

Comparison is base (1808edb) 31.61% compared to head (bdc6ab5) 31.61%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #105 +/- ## ========================================= Coverage 31.61% 31.61% Complexity 199 199 ========================================= Files 28 28 Lines 756 756 ========================================= Hits 239 239 Misses 517 517 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

dependabot[bot] commented 11 months ago

Superseded by #106.