yiisoft / translator

Message translation
https://www.yiiframework.com/
BSD 3-Clause "New" or "Revised" License
23 stars 9 forks source link

Update rector/rector requirement from ^0.14.3 to ^0.15.0 #102

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

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 :tada: 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 :partying_face:

  • [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 :bug:

  • [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 (https://github.com/rectorphp/rector-src/commit/571a1e6067342b21c2baaa10976103915299b0c6)
  • [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 (https://github.com/rectorphp/rector-src/commit/d2064068055fb25da2c245515a6c6260fbe6a597)
  • 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)
what-the-diff[bot] commented 1 year ago
codecov[bot] commented 1 year ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@3aead8d). Click here to learn what that means. Patch has no changes to coverable lines.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #102 +/- ## ========================================= Coverage ? 99.27% Complexity ? 110 ========================================= Files ? 13 Lines ? 274 Branches ? 0 ========================================= Hits ? 272 Misses ? 2 Partials ? 0 ``` Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=yiisoft). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=yiisoft)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

dependabot[bot] commented 1 year ago

Superseded by #105.