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.13 to ^0.15 #285

Open
wants to merge 1 commit into
base: 1.13
Choose a base branch
from

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
  • fbfbe49 Rector 0.15.0
  • ab11a00 Updated Rector to commit 25dec6b32504d747ff62193ff4704144ca10b040
  • 3d977e0 Updated Rector to commit 16680c4f102d8155d94340307e8ec02c03ac42ed
  • c390fa8 Updated Rector to commit 4e9214f313edac16dbb4ff6ac48da2d1d706a360
  • 113d4ed Updated Rector to commit 58069c319777423311a4877733c01c54394c3a27
  • 2a553a9 Updated Rector to commit 3dea2bdc4de76d217cc2d67cce4ccb41d2b4c7f3
  • 83accd4 Updated Rector to commit efd09bbb400b2382be39effc206551e6964fa5ea
  • 642698e Updated Rector to commit e8a252fe262cac38eb74b9584f78e2daee006ffa
  • 82eda1f Updated Rector to commit d670b4e50deb738f15d77c6a4f7fe773791c871f
  • 670f999 Updated Rector to commit 1f46de3de704155da47e3b8d87312224cb5550d6
  • 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.0...0.15.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 5, 2022
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants