FakerPHP / Faker

Faker is a PHP library that generates fake data for you
https://fakerphp.github.io
Other
3.63k stars 353 forks source link

composer(deps): bump rector/rector from 0.18.5 to 0.18.6 in /vendor-bin/rector #804

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps rector/rector from 0.18.5 to 0.18.6.

Release notes

Sourced from rector/rector's releases.

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!

Bugfixes :bug:

  • [CodeQuality] Skip VB style if endif on CompleteMissingIfElseBracketRector (#5122)
  • [CodeQuality] Skip direct InlineHTML on CompleteMissingIfElseBracketRector (#5125)
  • [CodeQuality] Skip spaced elseif cond on CompleteMissingIfElseBracketRector (#5126)
  • [CodeQuality] Only check start from current Stmt token pos up until open parentheses on CompleteMissingIfElseBracketRector (#5127)
  • [CodeQuality] Handle all if,elseif,else no bracket on CompleteMissingIfElseBracketRector (#5129)
  • [CodeQuality] Skip VB style in complex HTML on CompleteMissingIfElseBracketRector (#5132)
  • Skip __construct() in BoolReturnTypeFromStrictScalarReturnsRector (#5133), Thanks @​staabm!
  • [CodeQuality] Handle missing bracket on If only on CompleteMissingIfElseBracketRector (#5134)
  • [CodeQuality] Handle on closure, anonymous function, method call on CompleteMissingIfElseBracketRector (#5135)
  • [CodeQuality] Use its start token pos on Else_ on CompleteMissingIfElseBracketRector as no cond (#5136)
  • [PhpParser] Reduce AstResolver complexity by move check fileName is null to parseFileNameToDecoratedNodes() (#5138)
  • [TypeDeclaration] Handle Union with array type on ReturnUnionTypeRector (#5144)
  • [TypeDeclaration] Handle union A extends B on ReturnUnionTypeRector (#5149)
  • [CodeQuality] Fix missing parentheses on CombineIfRector (#5151)
  • [TypeDeclaration] Utilize ClassMethodReturnTypeOverrideGuard on NumericReturnTypeFromStrictScalarReturnsRector (#5155)
  • [CodeQuality] Handle negative and positive int/float on InlineConstructorDefaultToPropertyRector (#5159)
  • [CodeQuality] Skip docblock usage on SimplifyBoolIdenticalTrueRector (#5161)
  • [CodeQuality] Skip magic property fetch on IssetOnPropertyObjectToPropertyExistsRector (#5163)
  • [PostRector] Reduce loop on ClassRenamingPostRector (#5174)
  • [PostRector] Fix ClassRenamingPostRector return when no auto import replacement (#5175)
  • [Renaming] Skip nullable object object|null on RenameMethodRector (#5181)
  • [Downgradephp81][DowngradePhp80] Handle No scope crash on DowngradeSetAccessibleReflectionPropertyRector + DowngradeMatchToSwitchRector (#5183)
  • [Naming] Skip DateTime from renaming, to keep convention of named dates (#5184)
  • Skip new self in RenameVariableToMatchNewTypeRector (#5185)
  • Skip DateTime in ExpectedNameResolver (#5186)
  • [Naming] Skip all kinds of generators (#5187)
  • [Renaming] Skip pointless names in RenameForeachValueVariableToMatchMethodCallReturnTypeRector (#5188)
  • [Php70] Fix Php4 contructor not replaced with __construct() on php 7.4 environment (#5189)
  • [Php74][Php81] Allow mixed key on ArraySpreadInsteadOfArrayMergeRector on php 8.1 version feature enabled (#5190)
  • [TypeDeclaration] Handle skipped by file path on DeclareStrictTypesRector due to use beforeTraverse() (#5191)
  • Fix phpstan notice $phpVersion on Rector\Config\RectorConfig::phpVersion() (#5193)
  • [PHPStanStaticTypeMapper] Remove BoolUnionTypeAnalyzer on UnionTypeMapper (#5141)
  • [DeadCode] Remove UnionType check on RecastingRemovalRector (#5142)
  • Remove src/constants.php for T_ENUM and T_NAME_RELATIVE (#5143)
  • [PHPStanStaticTypeMapper] Remove narrow string and int on UnionTypeMapper (#5145)
  • [PHPStanStaticTypeMapper] Remove matchArrayTypes() on UnionTypeMapper (#5146)
  • [DeadCode] Skip indirect variable definition on RemoveNonExistingVarAnnotationRector (#5152)

... (truncated)

Commits
  • 02041b2 Rector 0.18.6
  • 52923dc Updated Rector to commit 1c54292ed68e46f4ddfa2adb21f28130f308b99c
  • 293ab61 Updated Rector to commit b45a987d9264b884e0ec9c80f8597dbce52e1870
  • 888d97e Updated Rector to commit 7d7b04c555a0433a65adcf442e4353593efed0e3
  • 6561afe Updated Rector to commit f2c8967abf004558bf92c86840d57eb7f0221f9c
  • 5ba12a9 Updated Rector to commit f2c8967abf004558bf92c86840d57eb7f0221f9c
  • ff69243 Updated Rector to commit f2c8967abf004558bf92c86840d57eb7f0221f9c
  • 84884df Updated Rector to commit 3e505e5d39a709a67f2400dc647a48a697b0baf1
  • 5bc4754 Updated Rector to commit 01fb666f47d9323316bd5993f068ffa8f8d88540
  • 7c5eefb Updated Rector to commit 6d5ffbe7d62fba226b0b49c613092c0741b2ba34
  • 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)