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

build(dev-deps): update rector/rector requirement from 0.12.* || ^0.9.19 || ^0.8 to 0.12.* || ^0.9.19 || ^0.8 || ^0.15 #151

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 5, 2022

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

Release notes

Sourced from rector/rector's releases.

Released Rector 0.15

We released a new getrector.org website, including new documentation - https://getrector.org/documentation 🎉 You can already find a few new sections there.

This release brings the most significant changes in type safety. Few rules in type declaration worked with docblock types and completed type as strict. These rules lead to crashing code with invalid types. Instead, we've been splitting these rules into smaller and specific ones (Unix style!) that handle exact strict type declarations. This release finalizes the removal of these weak rules.

Welcome new type declaration rules that are safe and work with 100 % known strict types ↓

New Features 🥳

  • [TypeDeclaration] Add AddParamTypeBasedOnPHPUnitDataProviderRector + remove too narrow KnownArrayParamTypeInferer (#3104)
  • [TypeDeclaration] Add AddParamTypeSplFixedArrayRector (#3105)
  • [TypeDeclaration] Add AddReturnTypeDeclarationFromYieldsRector (#3114)
  • [TypeDeclaration] Add ReturnTypeFromReturnDirectArrayRector, ReturnTypeFromStrictConstantReturnRector, ReturnTypeFromStrictTypedCallRector (#3125)
  • [TypeDeclaration] Add AddParamTypeFromPropertyTypeRector (#3109)
  • Add list-rules command for tool interoperabtility (#3087)
  • Add SimplifyEmptyCheckOnEmptyArrayRector #7485 (#3069), Thanks @​JohJohan!
  • [Php80] Add ClassOnThisVariableObjectRector (#3093)

Bugfixes 🐛

  • [Php80] Skip possible numeric string switch cond with all integer case cond on ChangeSwitchToMatchRector (#3067)
  • Skip MakeTypedPropertyNullableIfCheckedRector for constructor assigment. (#3074), Thanks @​Wohlie!
  • Fix StrContainsRector when strpos offset is set (#3086), Thanks @​ajgarlag!
  • [TypeDeclaration] Handle return self on TypedPropertyFromStrictGetterMethodReturnTypeRector on php 8.0 feature enabled (#3088)
  • [Php80] Do not remove existing attribute on NestedAnnotationToAttributeRector (#3116)
  • [CodeQuality] Skip from non-typed param on SimplifyEmptyCheckOnEmptyArrayRector (#3115)
  • [DeadCode] Fix RemoveJustPropertyFetchRector to skip concat assigns (#3123)
  • [DeadCode] Skip re-assigned variable in RemoveJustPropertyFetchRector (#3124)
  • [Php74] Register TypedPropertyFromAssignsRector to php74 config set (#3127)
  • docs (rectorphp/rector-src@571a1e6)
  • [TypeDeclaration] Skip property names in TypedPropertyFromStrictConstructorRector (#3128)
  • [TypeDeclaration] Skip doctrine collection type (#3130)
  • [TypeDeclaration] Use existing MakePropertyTypedGuard on TypedPropertyFromStrictConstructorRector (#3131)
  • [PHP 8.1] Add other methods to ClassFromEnumFactory (rectorphp/rector-src@d206406)
  • simplify PHPStanStaticTypeMapper (#3143), Thanks @​staabm!
  • Fix foreach key evaluation for SimplifyForeachToArrayFilterRector. (#3100), Thanks @​Wohlie!
  • [Php55] Handle crash on curly parentheses delimiter on PregReplaceEModifierRector (#3144)
  • [Php73] Add closure bindings for SimplifyForeachToArrayFilterRector. (#3146), Thanks @​Wohlie!

... (truncated)

Commits

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)

….19 || ^0.8 to 0.12.* || ^0.9.19 || ^0.8 || ^0.15

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](https://github.com/rectorphp/rector/commits/0.15.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@stale
Copy link

stale bot commented Aug 1, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the staled label Aug 1, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 1, 2023

Superseded by #165.

@dependabot dependabot bot closed this Aug 1, 2023
@dependabot dependabot bot deleted the dependabot/composer/rector/rector-0.12.staror-tw-0.9.19or-tw-0.8or-tw-0.15 branch August 1, 2023 23:22
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.

0 participants