amazon-php / sp-api-sdk

Amazon Selling Partner SPI - PHP SDKs
131 stars 53 forks source link

Bump rector/rector from 0.15.19 to 0.18.7 in /tools #507

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps rector/rector from 0.15.19 to 0.18.7.

Release notes

Sourced from rector/rector's releases.

Released Rector 0.18.7

New Features :partying_face:

  • [CodeQuality] Add negated support on SingleInArrayToCompareRector (#5205)
  • [Php83] Adds rule for adding Override attribute (#5170), Thanks @​peterfox!

Bugfixes :bug:

  • BinaryOpBetweenNumberAndStringRector don't trust phpdoc (#5199), Thanks @​staabm!
  • [CodeQuality][Php70] Handle LocallyCalledStaticMethodToNonStaticRector + ThisCallOnStaticMethodToStaticCallRector must change both method and caller (#5196)
  • CountArrayToEmptyArrayComparisonRector: don't trust phpdoc (#5203), Thanks @​staabm!
  • [TypeDeclaration] Skip union false on NumericReturnTypeFromStrictScalarReturnsRector (#5204)
  • [CodeQuality] Handle negated isset on IssetOnPropertyObjectToPropertyExistsRector on property not exists (#5206)
  • [CodeQuality] Handle crash no scope on ThrowWithPreviousExceptionRector+OptionalParametersAfterRequiredRector (#5207)
  • [NodeTypeResolver] Clean up TryCatch_ Scope filling (#5208)
  • [PHPStanStaticTypeMapper] Clean up tweak false and bool check on UnionTypeMapper (#5209)
  • [TypeDeclaration] Skip default numeric string on param int on ParamTypeByMethodCallTypeRector (#5210)
  • [AutoImport] Handle AnnotationToAttributeRector + RenameClassRector then enable auto import (#5213)
  • [Php80] Keep single quoted Argument Attribute on AnnotationToAttributeRector (#5214)
  • [Php80] Keep single quoted key: 'value' on AnnotationToAttributeRector (#5215)
  • [AutoImport] Ensure change to FullyQualified for Attribute on just changed from annotation (#5216)
  • [Php52][Php70] Handle ContinueToBreakInSwitchRector + BreakNotInLoopOrSwitchToReturnRector (#5217)
  • [Php80] Handle RenameClassRector+AnnotationToAttributeRector with auto import and existing attribute defined (#5219)
  • [Testing] In case of failed test using multiple rules, show applied Rector rules to make easy to find them (#5222)
  • [NodeTypeResolver] Handle nullable extended class on ->isObjectType() on DowngradeReflectionGetAttributesRector (#5224)
  • NullableCompareToNullRector: Don't trust phpdocs (#5225), Thanks @​staabm!
  • [CodingStyle] Move ArraySpreadInsteadOfArrayMergeRector from php74 to codingstyle sets list (#5230)
  • [PostRector] Ensure old classes in use statements cleaned up after rename attribuet on ClassRenamingPostRector (#5231)
  • RestoreDefaultNullToNullableTypePropertyRector: skip @readonly phpdoc (#5233), Thanks @​staabm!
  • [AutoImport] Handle DeclareStrictTypesRector on importNames() enabled on no namespace (#5241)
  • [AutoImport] Allow auto import just renamed @​var only docblock on RenameClassRector without removeUnusedImports() enabled (#5220)
  • Remove rule DataProviderArrayItemsNewlinedRector.php (#5227), Thanks @​eerison!
  • Remove ArraySpreadInsteadOfArrayMergeRector from LevelSetList::UP_TO_PHP_74 (#5228), Thanks @​staabm!
  • [DeadCode] Allow indirect duplicated grouping on RemoveDuplicatedCaseInSwitchRector (#5234)
  • [DeadCode] Reduce double loop on RemoveDuplicatedCaseInSwitchRector (#5235)
  • [DeadCode] Handle different indirect duplicated on RemoveDuplicatedCaseInSwitchRector (#5236)
  • [DeadCode] Ensure change hasChanged flag on RemoveDuplicatedCaseInSwitchRector (#5237)
  • [DeadCode] Handle repetitive jump equal case stmts on RemoveDuplicatedCaseInSwitchRector (#5239)
  • Rename parameter variable to nextCase on RemoveDuplicatedCaseInSwitchRector (#5244)

Released Rector 0.18.6

New Features and Changes :partying_face:

  • [CodeQuality] Add CompleteMissingIfElseBracketRector (#5121)
  • [CodeQuality] Add Else and ElseIf on CompleteMissingIfElseBracketRector (#5124)
  • [TypeDeclaration] Utilize ClassMethodReturnTypeOverrideGuard on AddReturnTypeDeclarationFromYieldsRector (#5156)
  • [DeadCode] Add RemoveUselessReturnExprInConstructRector (#5158)
  • Improve UnaryPlus and UnaryMinus support in isDynamicExpr (#5177), Thanks @​JulianCBC!

... (truncated)

Commits
  • caba0e2 Rector 0.18.7
  • 88ba2c5 Updated Rector to commit caba1a00f6c66fe383ed38624087f6dd527808c6
  • 55d6c6f Updated Rector to commit 61d68c89b434271c793fbbcc8e6252e9f3e0e7eb
  • 39dc614 Updated Rector to commit 42b697f65f0c648cc45abcc5b9e32a16a7967caa
  • 753e83f Updated Rector to commit 4ed71bc537b3b3bb80245efb7661941119ab077d
  • e26480f Updated Rector to commit 7e7304b93cd03fda558ac8ebfbc682ffa4938fe0
  • e41e10d Updated Rector to commit 2f74b02ef6c754c68abcdd246837583967e24678
  • 382d51d Updated Rector to commit eac58be00246ea8c89548289f2cc742e8b1b6b1a
  • 17eadc7 Updated Rector to commit b0d4b15c3fd96582c6e3ed4d21cf4d30eb8742ce
  • c51a745 Updated Rector to commit bee1dae395490dd91a86230e1886b514288dfa62
  • 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)
dependabot[bot] commented 1 year ago

Superseded by #509.