Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 7, 2022

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

Release notes

Sourced from rector/rector's releases.

Released Rector 0.13.8

New Features 🎉

  • [CodeQuality] Add TernaryFalseExpressionToIfRector (#2590)
  • [TypeDeclaration] Add ReturnTypeFromStrictScalarReturnExprRector (#2601)
  • [EarlyReturn] Add ReturnEarlyIfVariableRector (#2609)
  • [Php54] Add ArrayToShortArrayRector (#2615), Thanks @​edsrzf!
  • [DeadCode] Add RemoveJustVariableAssignRector (#2618)
  • [TypeDeclaration] Add TypedPropertyFromStrictSetUpRector (#2636)

Bugfixes 🐛

  • [DeadCode] Handle always terminated Switch_ on RemoveUnreachableStatementRector (#2591)
  • [DeadCode] Handle collection of Case_ on RemoveUnreachableStatementRector (#2593)
  • [DeadCode] Handle anonymous and arrow function uses in RemoveJustPropertyFetchRector (#2592), Thanks @​kick-the-bucket!
  • [Naming] Skip used in arrow function args on RenameVariableToMatchMethodCallReturnTypeRector (#2599)
  • [TypeDeclaration] Skip AddArrayReturnDocTypeRector on custom phpstan type (#2608)
  • [DeadCode] Handle edge cases on RemoveJustVariableAssignRector (#2621)
  • [Php71] Skip First Class Callable on RemoveExtraParametersRector (#2622)
  • [CodeQuality] Fix CompactToVariablesRector to resolve values when the compact() is called (#2627)
  • [DX] Improve direct return of Stmt arrays in Rector rules, remove NodesToAddCollector from AbstractRector (#2623)
  • [CodingStyle] Handle VarConstantCommentRector+NewlineAfterStatementRector (#2629)
  • [Php80] Skip no default on case collection assign on ChangeSwitchToMatchRector (#2631)
  • [DeadCode] Do not remove first class callable VariadicPlaceholder arg on RemoveUnusedPrivateMethodParameterRector (#2634)
  • [TypeDeclaration] Do not change more detailed return doc on ReturnTypeFromStrictNewArrayRector (#2638)

Removed 🗑️

  • Remove RemoveOverriddenValuesRector as flow of control is not reliable and could cause invalid removal (#2614)
  • [CodeQuality] Remove DateTimeToDateTimeInterfaceRector as mostly opinionated and way too much generics (#2598)
  • [EarlyReturn] Remove ReturnAfterToEarlyOnBreakRector as risky and turning around next/previous nodes (#2624)
  • [Transform] Remove CallableInMethodCallToVariableRector as very narrow use case and sensitive to wrong change (#2625)
Commits
  • 6e01478 Rector 0.13.8
  • 239f912 Updated Rector to commit b67bf649899000a913c4c91ec7ce43b165aa471d
  • 336a52b Updated Rector to commit 22f2acadf73bc00a350b6b457db51eb5e0353d89
  • e86c09a Updated Rector to commit 7916cd907d55e32e9711ee7dc07ed45016eff152
  • 331fec3 Updated Rector to commit e6cc503e24bbbc362d6e05b4f4a322ff97c09457
  • 920b431 Updated Rector to commit 53bddfb185b596a354ac946cec2788a169ae4fe6
  • 8166210 Updated Rector to commit 649e5119376355e4d009f5db569b3785d10aaa37
  • 4c0b7db Updated Rector to commit 3f877913606cc29dd71cf937119b90177ad2b14c
  • 4734e9d Updated Rector to commit 2267ca2a16768e21da5fbfff53844ab5fb87f264
  • ff718bc Updated Rector to commit 329b4f2e6f13394b56eb4ad01e020fc651fc83d5
  • 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.13.7...0.13.8)

---
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 external dependencies php Pull requests that update Php code labels Jul 7, 2022
@samsonasik samsonasik self-assigned this Jul 7, 2022
@samsonasik
Copy link
Member

Re-run rector to for new rector rule: RemoveJustVariableAssignRector to remove variable just to assign value or return value

@samsonasik
Copy link
Member

All green 🎉

@samsonasik samsonasik merged commit 0d775ac into develop Jul 7, 2022
@samsonasik samsonasik deleted the dependabot/composer/rector/rector-0.13.8 branch July 7, 2022 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update external dependencies php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants