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

composer(deps-dev): Bump rector/rector from 1.1.1 to 1.2.0 #820

Merged
merged 1 commit into from
Jul 2, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 2, 2024

Bumps rector/rector from 1.1.1 to 1.2.0.

Release notes

Sourced from rector/rector's releases.

Released Rector 1.2.0

New Rules 🚀

  • [Renaming] Add RenameAttributeRector (#6009)
  • [TypeDeclaration] Add AddClosureUnionReturnTypeRector (#6033)
  • [TypeDeclaration] Add AddClosureNeverReturnTypeRector (#6039)
  • [Php71] Add MultiDimensionalArrayToArrayDestructRector (#6031), Thanks @​nikolicaleksa!
  • [TypeDeclaration] Add AddClosureReturnTypeFromStrictParamRector (#6044)
  • [TypeDeclaration] Add AddClosureReturnTypeFromReturnCastRector (#6061)
  • [TypeDeclaration] Add AddClosureReturnTypeFromStrictNativeCallRector (#6059)

New Features 🥳

  • [DX] Add withAttributes(all) option, add PHPUnit and Doctrine code quality sets to withPreparedSets() (#6004)
  • [DX] Add symfony code quality preset (#6008)
  • [DX] Add withDowngradeSets() to better target downgrades (#6015)
  • Add always config for EncapsedStringsToSprintfRector (#6050), Thanks @​ruudk!
  • Add only_direct_assign config for SimplifyUselessVariableRector (#6034), Thanks @​ruudk!
  • Skip files with short <?= PHP tag as leads to invalid changes (#6068), (#6075)
  • [Bridge] Add SetRectorsResolver, SetProviderCollector for easier use in 3rd-party tools (#6030)
  • [DX] Inform about deprecated rules in config (#6047)
  • [Config] Exclude listed on .gitignore for withRootFiles() (#6028)

Bugfixes 🐛

  • AddTypeToConstRector: apply if const references another class const (#6017), Thanks @​tugmaks!
  • fix: Skip adding string casting to closure return when it returns str… (#6018), Thanks @​nikolicaleksa!
  • fix: Add code as a named argument (#6062), Thanks @​nikolicaleksa!
  • Fix message handler removal in RemoveUnusedPublicMethodParameterRector (#6001)
  • fix: Skip refactoring when foreach if statement contains calls to met… (#6019), Thanks @​nikolicaleksa!
  • fix: Use named arguments if they are already used (#6022), Thanks @​nikolicaleksa!
  • [Naming] Handle used in arrow function param, then used again outer ArrowFunction on RenameParamToMatchTypeRector (#6046)
  • Fix docker commands in CONTRIBUTING.md (#6023), Thanks @​tugmaks!
  • fix: Skip static calls which are made using the class name (#6024), Thanks @​nikolicaleksa!
  • feat: Support functions for first-class-callable (#6027), Thanks @​nikolicaleksa!
  • [Cleanup] Deprecate ChangeAndIfToEarlyReturnRector as creates less readable code with inverted conditions (#6041)
  • fix: Convert DateTime to Carbon properly when negative days/months are used (#6051), Thanks @​nikolicaleksa!
  • [Php81] Handle usage as arg by ref key on falsy ObjectType on ReadOnlyPropertyRector (#6054)
  • fix: Skip remove always true condition on method calls (#6063), Thanks @​nikolicaleksa!

Removed and Deprecated 💀

  • [TypeDeclaration] Remove ArrowFunction from ReturnTypeFromReturnDirectArrayRector and ReturnTypeFromReturnNewRector (#6032)
  • [Cleanup] Remove @​changelog as no longer maintained/used, use RuleDefinition instead (#6035)
  • [Cleanup] Remove FormatPerservingPrinter as only delegate method, use BetterStandardPrinter directly (#6036)

... (truncated)

Commits
  • 2fa3875 Rector 1.2.0
  • a0361c8 Updated Rector to commit a0ae659a312c39122c4b43167a4591ad7aff6405
  • 2203e98 Updated Rector to commit 436f0bc52f8fbd648b2fca69ecb5f7700aebdb99
  • 23b3490 Updated Rector to commit 1561c90c6b9ef040532a34afa1c2f581ad5dfbc1
  • 78890de Updated Rector to commit 3c2100b3a8d2372094135efa9c4d0433078337b5
  • 738f339 Updated Rector to commit ef333502fb722ef471049b492a257781d02d0d62
  • 8ead3fe Updated Rector to commit ef333502fb722ef471049b492a257781d02d0d62
  • 7d2f984 Updated Rector to commit b94486c7b2663616901e4fd67047c963af9bd400
  • e6124b8 Updated Rector to commit 554cad981917c1d402601c9fb158e3be9a66eeb1
  • 2f18f17 Updated Rector to commit 33655134e27ea56c99a01e159425d1f358c0b4a0
  • Additional commits viewable in compare view

Dependabot compatibility score

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 <dependency name> 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)

Bumps [rector/rector](https://github.com/rectorphp/rector) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](rectorphp/rector@1.1.1...1.2.0)

---
updated-dependencies:
- dependency-name: rector/rector
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependency label Jul 2, 2024
@ergebnis-bot ergebnis-bot self-assigned this Jul 2, 2024
@ergebnis-bot ergebnis-bot merged commit 352244c into main Jul 2, 2024
17 checks passed
@ergebnis-bot ergebnis-bot deleted the dependabot/composer/rector/rector-1.2.0 branch July 2, 2024 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant