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.15.13 to ^0.17.2 #51

Merged
merged 1 commit into from
Jul 1, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 30, 2023

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

Release notes

Sourced from rector/rector's releases.

Released Rector 0.17.2

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

This includes:

  • removing more parent node connections, to lower node tree memory consumption

New Features 🥳

  • Add sleep after processPool->quitAll() to give time for all child processes to terminate (#4280), Thanks @​dorrogeray!
  • [TypeDeclaration] Add NumericReturnTypeFromStrictScalarReturnsRector (#4296)
  • [Php71] Add Closure support on AssignArrayToStringRector (#4303)
  • Introduces AddSensitiveParameterAttributeRector rule (#4342), Thanks @​peterfox!
  • Bump nikic/php-parser to 4.16.0 (#4343)
  • Show error when no files will be processed (#4326), Thanks @​staabm!
  • Cache unchanged files on dry run v2 (#4281), Thanks @​dorrogeray!

Bugfixes 🐛

  • [CodeQuality] Handle crash on variable variable on OptionalParametersAfterRequiredRector (#4226)
  • Fix LocallyCalledStaticMethodToNonStaticRector with method args (#4233), Thanks @​toastedghost!
  • Use FunctionLike contract instead of union of function-like concrete implementations (#4241), Thanks @​Wirone!
  • [CodeQuality][Performance] Reduce repetitive NodeTypeResolver->getType() on ExprBoolCaster (#4279)
  • Skip rewindable generator (#4282)
  • [Php55][NodeTypeResolver] Handle crash on dynamic variable concat assign on StringClassNameToClassConstantRector (#4283)
  • [Php55] Clean up FullyQualified assigned to FullyQualified on StringClassNameToClassConstantRector (#4284)
  • [TypeDeclaration] Extend NumericReturnTypeFromStrictScalarReturnsRector (#4297)
  • Skip divide in NumericReturnTypeFromStrictScalarReturnsRector (#4298)
  • [TypeDeclaration] Skip once typed and else return array_map() on ReturnTypeFromStrictTypedCallRector (#4312)
  • Fix command to configure rector (#4314), Thanks @​bertramakers!
  • [Performance] [NodeTypeResolver] Reduce callable traverse usage on ContextNodeVisitor (#4317)
  • [CodeQuality] Skip not regex on SimplifyRegexPatternRector (#4322)
  • [TypeDeclaration] Handle crash on object shape on ArrayShapeFromConstantArrayReturnRector (#4323)
  • [Php81] Skip named constructor on ReadOnlyPropertyRector (#4359)
  • Skip argument if value equals default value (#4368), Thanks @​stefantalen!
  • [MysqlToMysqli] Handle infinite loop on MysqlQueryMysqlErrorWithLinkRector when no connection instance on first dept stmt (#4375)

Removed 💀

  • Remove removeNode() method from AbstractRector (#4225)
  • Remove Kind from doc mapper, as used just once (#4234)
  • Move LocallyCalledStaticMethodToNonStaticRector to CodeQuality namespace, to avoid dumping removed static set (#4242)
  • Restore RemoveMethodCallParamRector as used (#4244)
  • [Performance] Remove NODES_TO_MATCH constant on RemoveNonExistingVarAnnotationRector (#4267)

... (truncated)

Commits
  • b8f72ff Rector 0.17.2
  • 6e8d9f0 Updated Rector to commit 9ff238819b2cfed103b30766d2c0e33135abed38
  • dac98be Updated Rector to commit 9d85c96cb1d90aeb6d03eed4856be6861dc07673
  • 9c2b8f6 Updated Rector to commit a808debdb28fa1dd32ed804c6276e9cac30f7d37
  • 2f38f6f Updated Rector to commit f9d9f99f7ade07e3aa5fc40e6b6d3f2a17e9aa85
  • c534b5e Updated Rector to commit f7109a6d101aabc5e6a113c536bc0f6d5b598226
  • ebbf202 Updated Rector to commit 3d165eb8ef551c6a3912bc664f5255ee572b3235
  • a890ca9 Updated Rector to commit 7ee89b326702a0b51e3165fc478615834de50fe1
  • bbcd259 Updated Rector to commit 6947eb7c4cf8cefe0e7a4cb95bbae23ab64362bd
  • a3231bb Updated Rector to commit 40a1f34b12c548f7be05f02a084be54e8374a58a
  • 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.15.13...0.17.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Jun 30, 2023
@what-the-diff
Copy link

what-the-diff bot commented Jun 30, 2023

PR Summary

  • Update of rector/rector library version in composer.json
    The version of the rector/rector library, which is a critical component in our codebase, has been updated from 0.15.13 to 0.17.2. This upgrade comes with improvements and bug fixes, enhancing the stability and performance of our application. It may also introduce additional features that can potentially enhance the application functionality.

@vjik vjik merged commit 917f73f into master Jul 1, 2023
@vjik vjik deleted the dependabot/composer/rector/rector-tw-0.17.2 branch July 1, 2023 13:15
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