phpDocumentor / Reflection

Reflection library to do Static Analysis for PHP Projects
MIT License
117 stars 51 forks source link

Bump rector/rector from 0.17.10 to 0.17.12 #433

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps rector/rector from 0.17.10 to 0.17.12.

Release notes

Sourced from rector/rector's releases.

Released Rector 0.17.11

New Features and Improvements :partying_face:

  • [TypeDeclaration] Add nullable param from null compare on StrictStringParamConcatRector (#4636)
  • [TypeDeclaration] Add ReturnUnionTypeRector (#4655)
  • [TypeDeclaration] Skip public method on AddMethodCallBasedStrictParamTypeRector (#4659)
  • [CodeQuality][TypeDeclaration] Add string append support on ReturnTypeFromStrictScalarReturnExprRector (#4657)
  • [TypeDeclaration] Handle anonymous class in union on AddArrowFunctionReturnTypeRector (#4676)
  • [Types] Make AddVoidReturnTypeWhereNoReturnRector work only with type-declaration, as reliable (#4720)
  • [TypeDeclaration] Allow change multiple methods on AddParamTypeDeclarationRector (#4727)
  • [DX] Add ProcessConfigureDecorator to avoid superfluous composition (#4734)
  • [Logging] Add RectorOutput logging service (#4736)
  • [DX] Cache rector test config loading by file + class to avoid booting over and over per fixture (#4718)
  • [DX] Validate rules no longer existing rules in $rectorConfig->skip() (#4728)
  • [DX] Merge RectorOutputStyle, OutputStyleInterface to RectorStyle (#4711)

Bugfixes :bug:

  • [TypeDeclaration] Do not change different type defualt value on StrictStringParamConcatRector (#4635)
  • [Strict] Skip docblock on BooleanInTernaryOperatorRuleFixerRector (#4638)
  • [Strict] Skip docblock on DisallowedShortTernaryRuleFixerRector (#4639)
  • [Strict] Skip docblock on BooleanInBooleanNotRuleFixerRector (#4640)
  • [TypeDeclaration] Using native type scope get on ReturnTypeInferer (#4648)
  • [CodingStyle][Php80][Privatization] Handle SeparateMultiUseImportsRector+ClassPropertyAssignToConstructorPromotionRector+FinalizeClassesWithoutChildrenRector cause invalid removal (#4649)
  • [DX] Cleanup ForRepeatedCountToOwnVariableRector counter (#4651)
  • [DX] Make MoneyFormatToNumberFormatRector wrap func call directly to keep simple (#4653)
  • Move ArrayManipulator to rector-symfony, where only used (#4656)
  • [DX] Move FlipNegatedTernaryInstanceofRector to instanceof rules category (#4663)
  • Resolve encapsed values as strings (#4622), Thanks @​Bellardia!
  • [Privatization] Skip parent class unknown on PrivatizeFinalClassMethodRector (#4671)
  • [TypeDeclaration] Skip anonymous class and other object on ReturnUnionTypeRector (#4670)
  • [TypeDeclaration] Allow return anonymous class on ReturnTypeFromReturnNewRector (#4669)
  • [TypeDeclaration][CodeQuality] Move ReturnTypeFromStrictScalarReturnExprRector from CodeQuality to TypeDeclaration set (#4668)
  • [TypeDeclaration] Allow __invoke() method for return type changed on ClassMethodReturnTypeOverrideGuard (#4667)
  • [NodeTypeResolver] Clean up anonymous class detection on NodeTypeResolver::getNativeType() (#4673)
  • [NodeAnalyzer] Pass ReflectionProvider to __construct() on CallAnalyzer (#4699)
  • Skip code changes on unresolvable/unknown classes (#4619), Thanks @​staabm!
  • [TypeDeclaration] Use return bool for ParentClassMethodTypeOverrideGuard::hasParentClassMethod(), return ?MethodReflection for ParentClassMethodTypeOverrideGuard::getParentClassMethod() (#4703)
  • [TypeDeclaration] Skip param setter method intersection docblock not autoload on ReturnNeverTypeRector (#4721)
  • [TypeDeclaration] Skip non void or never already return typed on ReturnNeverTypeRector (#4723)
  • Make relativeFilePathFromDirectory() private as used only locally (#4735)
  • [DX] Avoid supporting edge-case multi-layered comments, must be covered in php-parser itself (#4743)
  • [TypeDeclaration] Skip void type on caller on ReturnTypeFromStrictTypedCallRector (#4751)
  • Use direct VoidType definition on Return_ expr is null on ReturnedNodesReturnTypeInfererTypeInferer (#4752)
  • [Renaming] Deprecate PseudoNamespaceToNamespaceRector as too dynamic and unreliable, use the RenameClassRector instead (#4755)

... (truncated)

Commits
  • af3a14a Rector 0.17.12
  • 4b4f578 Updated Rector to commit fa2a806a07ca9279af5a69391d0556098f0cdbb1
  • fb1f63e Updated Rector to commit 0bdace5619d44c2ab3b30254f3ef06fe5e90e6fa
  • 77447fc Updated Rector to commit e9ff73fa36a3e8afcbbdefd2cc0675fdb239fb21
  • fd27dcf Updated Rector to commit a4bc873216f6d468524f95ca2746224c48311c2e
  • 852f522 Updated Rector to commit f4b71a5406b7a79e7fa09659c6a1ca0014a558e1
  • 90a98ad Updated Rector to commit fe4d90d829b8bd17eff843f0e3de7a5a9cf0e023
  • f594570 Rector 0.17.11
  • 0dd5cd2 Updated Rector to commit e0167e6f750106355909fd7933b8cae23f9cc543
  • 50e22e8 Updated Rector to commit bcb51e81bc9cbc667017eea9240d7f8564848768
  • 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)