Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

[TASK] Update rector/rector to v0.17.10 #130

Merged
merged 1 commit into from
Aug 3, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 3, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change
rector/rector (source) require-dev patch 0.17.7 -> 0.17.10

Release Notes

rectorphp/rector (rector/rector)

v0.17.10: Released Rector 0.17.10

Compare Source

New Features 🥳

  • [TypeDeclaration] Add Closure support on NumericReturnTypeFromStrictScalarReturnsRector (#​4631)
  • [TypeDeclaration] Add Closure support on StrictArrayParamDimFetchRector (#​4632)
  • [TypeDeclaration] Add Closure support on ReturnTypeFromStrictParamRector (#​4633)
  • [TypeDeclaration] Add Closure support on StrictStringParamConcatRector (#​4634)

Bugfixes 🐛

  • [Downgrade] [FIX] Fix infinite loop in DowngradeArrayFilterNullableCallbackRector (#​150)

v0.17.9: Released Rector 0.17.9

Compare Source

Bugfixes 🐛

v0.17.8: Released Rector 0.17.8

Compare Source

New Features 🥳

  • [TypeDeclaration] Add Closure support on BoolReturnTypeFromStrictScalarReturnsRector (#​4610)
  • AddMethodCallBasedStrictParamTypeRector: Support changing protected methods in final classes (#​4611), Thanks @​staabm!
  • [TypeDeclaration] Add StrictStringParamConcatRector (#​4624)

Bugfixes 🐛

  • [PHPStanStaticTypeMapper] FQCN for Closure type mapper (#​4584)
  • Fixed constant types handling in TypedPropertyFromStrictConstructorRector (#​4588), Thanks @​staabm!
  • [TypeDeclaration] Skip coalesce on StrictArrayParamDimFetchRector (#​4589)
  • Bump to phpdoc-parser 1.23 and fill construct() attributes (#​4590)
  • [TypeDeclaration] Skip override string on StrictArrayParamDimFetchRector (#​4591)
  • [Autoloading] Using SimpleParameterProvider on BootstrapFilesIncluder (#​4592)
  • [Php81] Fix regression skip call by ref on ReadOnlyPropertyRector (#​4593)
  • [PHPStanStaticTypeMapper] Make use of toPhpDocNode() on ObjectTypeMapper (#​4581)
  • [PHPStanStaticTypeMapper] Fix IntersectionTypeMapper to make ObjectType have FQCN (#​4598)
  • [Php81] Skip re-assign with AssignOp on ReadOnlyPropertyRector (#​4600)
  • Reduce ConstExprClassNameDecorator overhead (#​4603), Thanks @​staabm!
  • Resolve native return-type from native union-type in short ternary (#​4606), Thanks @​staabm!
  • [Strict] Skip from docblock @​return on DisallowedEmptyRuleFixerRector (#​4608)
  • [Strict] Skip @​return docblock on BooleanInIfConditionRuleFixerRector (#​4609)
  • [Php81] Fix regression skip call by ref on ReadOnlyPropertyRector on non __construct method (#​4614)
  • [CodeQuality][Strict] Handle infinite loop on SimplifyDeMorganBinaryRector+SimplifyIfReturnBoolRector+DisallowedEmptyRuleFixerRector (#​4615)
  • [CodingStyle][Namespace_] Support constant imports (#​4612), Thanks @​natepage!
  • [Php81] Skip property fetch from new static on ReadOnlyPropertyRector (#​4617)
  • [CodingStyle] Handle crash on empty cases on BinarySwitchToIfElseRector (#​4618)
  • Fix string type on StrictArrayParamDimFetchRector (#​4623)
  • [PHPStanStaticTypeMapper] Handle crash on DowngradeMixedTypeDeclarationRector for PHPStan\Type\ConditionalType (#​4625)
  • [Php73] Handle crash Type Error on JsonThrowOnErrorRector (#​4626)
  • [Php81] Skip call by ref on ReadOnlyPropertyRector on FuncCall (#​4630)
  • [Printer] Fix printing PHPStan AlwaysRememberedExpr with add unwrapper inside BetterStandardPrinter::p (#​4629)
  • [TypeDeclaration] Skip has parent class method on AddParamTypeFromPropertyTypeRector (#​4627)

Removed 💀

  • [Printer] Remove has InlineHTML node check after apply changes on PhpFileProcessor (#​4601)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the dependencies label Aug 3, 2023
@codecov
Copy link

codecov bot commented Aug 3, 2023

Codecov Report

Merging #130 (438d62f) into main (736a94b) will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff             @@
##                main      #130   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
  Complexity        17        17           
===========================================
  Files              5         5           
  Lines             89        89           
===========================================
  Hits              89        89           

@renovate renovate bot changed the title [TASK] Update rector/rector to v0.17.8 [TASK] Update rector/rector to v0.17.10 Aug 3, 2023
@renovate renovate bot force-pushed the renovate/rector-rector-0.17.x-lockfile branch from d3622ab to 9c92b0e Compare August 3, 2023 17:09
| datasource | package       | from   | to      |
| ---------- | ------------- | ------ | ------- |
| packagist  | rector/rector | 0.17.7 | 0.17.10 |
@renovate renovate bot force-pushed the renovate/rector-rector-0.17.x-lockfile branch from 9c92b0e to 438d62f Compare August 3, 2023 18:38
@mteu mteu merged commit e845ca3 into main Aug 3, 2023
@mteu mteu deleted the renovate/rector-rector-0.17.x-lockfile branch August 3, 2023 18:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant