getformwork / formwork

🏗 A flat file-based Content Management System (CMS) to build and manage sites with simplicity
MIT License
52 stars 12 forks source link

Bump rector/rector from 1.2.0 to 1.2.2 #547

Closed dependabot[bot] closed 3 months ago

dependabot[bot] commented 3 months ago

Bumps rector/rector from 1.2.0 to 1.2.2.

Release notes

Sourced from rector/rector's releases.

Released Rector 1.2.2

New Features :partying_face:

  • [TypeDeclaration] Add ReturnTypeFromMockObjectRector (#6166)
  • [TypeDeclaration] Add TypedPropertyFromCreateMockAssignRector (#6177)

Bugfixes :bug:

  • Skip phpdoc types in NumericReturnTypeFromStrictReturnsRector (#6153), Thanks @​staabm!
  • [TypeDeclaration] Fix union type by multiple method calls on ParamTypeByMethodCallTypeRector (#6155)
  • [TypeDeclaration] Handle throw without new on on ParamTypeByMethodCallTypeRector (#6156)
  • [TypeDeclaration] Refactor CallerParamMatcher to avoid ambigous returns usage (#6157)
  • [TypeDeclaration] Prevent uncaught exception in ReturnTypeFromReturnNewRector (#6159), Thanks @​staabm!
  • Prevent uncaught class-not-found exceptions (#6160), Thanks @​staabm!
  • [TypeDeclaration] Skip variadic on StrictArrayParamDimFetchRector (#6163)
  • [CodeQuality] Skip used in next stmt on UnusedForeachValueToArrayKeysRector (#6164)
  • [Scoper] Fix prefixed MockObject on ReturnTypeFromMockObjectRector (#6167)
  • [TypeDeclaration] Flip position between bool return and return tyep from strict constant on TypeDeclarationLevel (#6168)
  • [TypeDeclaration] Skip possible void and return by docblock on ReturnTypeFromMockObjectRector (#6170)
  • [TypeDeclaration] Update fixture and example method name (#6171)
  • [NodeTypeResolver] Handle crash on variable variable with assign on FirstClassCallableRector (#6173)
  • [NodeTypeResolver] Clean up re-fill scope on PHPStanNodeScopeResolver on variable variable (#6174)
  • [NodeTypeResolver] Fill scope of dynamic variable variable (#6175)
  • fix: Convert DateTime to Carbon properly when hours/minutes/seconds are used (#6176), Thanks @​florisbosch!

Released Rector 1.2.1

New Features :partying_face:

  • [type-declarations] Add ReturnNullableTypeRector (#6110)
  • [type-declarations] Add StringsReturnTypeFromStrictScalarReturnsRector to complete the string returns (#6111)
  • [PhpDoc] Add warning about missing PhpDocInfo name form tag value node (#6134)
  • [TypeDeclaration] Introducing ClosureReturnTypeRector to handle closure types separately (#6106)
  • [TypeDeclaration] Skip has named arg on AddMethodCallBasedStrictParamTypeRector (#6137)
  • [e2e][Printer] Handle crash indentation on AddParamBasedOnParentClassMethodRector (#6112)

Bugfixes :bug:

  • [TypeDeclaration] Skip variadic on AddParamTypeBasedOnPHPUnitDataProviderRector (#6150)
  • [TypeDeclaration] Add ConstFetch support on ReturnTypeFromStrictConstantReturnRector (#6151)
  • Refactor BooleanTypeMapper to handle value based on context (#6095)
  • Check root return in ReturnTypeFromReturnNewRector (#6102)
  • Make ReturnUnionTypeRector run on PHP 8.0+ (#6103)
  • ReturnUnionTypeRector now return only non-nullable types, to prepare space for new nullable rule as off PHP 7.1+ (#6105)
  • [TypeDeclaration] handle explicit if else new on ReturnTypeFromReturnNewRector (#6104)
  • [Php70] Swap min is higher than max on RandomFunctionRector (#6109)

... (truncated)

Commits
  • 044e636 Rector 1.2.2
  • 19fc78b Updated Rector to commit 1aef75583cc0c1314f151c24fac27e7af69e7d7d
  • b7033ef Updated Rector to commit fa84ab5de0c4b7be8125b7f6c4c60afbc2a27327
  • 90fab4d Updated Rector to commit eba615375fc6b795827e4ef3135d88c58479719d
  • ceea11f Updated Rector to commit 1a58300b7d6ccaa1adbb1760b4a355263dc41408
  • 65dfd8c Updated Rector to commit 07fffd50f3b62196856f22622815768385554272
  • 8d7c7fa Updated Rector to commit 417b208b58da94040e01c5f9629ae33db472df78
  • cecbffb Updated Rector to commit b0c89a98a0eb4a62d3141d950484d6e3ea7fdbda
  • dd8c5b5 Updated Rector to commit 29e926608b0008df286370f94cf5c26b4aa86226
  • 5ab7399 Updated Rector to commit e4c27be2ed869ed495cb5631ec9e6efc0ddc68ee
  • 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 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)