Closed renovate[bot] closed 1 year ago
This PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead.
Code Climate has analyzed commit e7c45fd6 and detected 0 issues on this pull request.
The test coverage on the diff in this pull request is 100.0% (50% is the threshold).
This pull request will bring the total coverage in the repository to 99.1% (0.0% change).
View more on Code Climate.
This PR contains the following updates:
0.17.1
->0.17.2
Release Notes
rectorphp/rector (rector/rector)
### [`v0.17.2`](https://togithub.com/rectorphp/rector/releases/tag/0.17.2): Released Rector 0.17.2 [Compare Source](https://togithub.com/rectorphp/rector/compare/0.17.1...0.17.2) In this release we continue preparing for Rector 1.0 release [https://github.com/rectorphp/rector/issues/7854](https://togithub.com/rectorphp/rector/issues/7854) This includes: - removing more parent node connections, to lower node tree memory consumption#### New Features :partying_face: - Add sleep after processPool->quitAll() to give time for all child processes to terminate ([#4280](https://togithub.com/rectorphp/rector-src/pull/4280)), Thanks [@dorrogeray](https://togithub.com/dorrogeray)! - \[TypeDeclaration] Add NumericReturnTypeFromStrictScalarReturnsRector ([#4296](https://togithub.com/rectorphp/rector-src/pull/4296)) - \[Php71] Add Closure support on AssignArrayToStringRector ([#4303](https://togithub.com/rectorphp/rector-src/pull/4303)) - Introduces `AddSensitiveParameterAttributeRector` rule ([#4342](https://togithub.com/rectorphp/rector-src/pull/4342)), Thanks [@peterfox](https://togithub.com/peterfox)! - Bump nikic/php-parser to 4.16.0 ([#4343](https://togithub.com/rectorphp/rector-src/pull/4343)) - Show error when no files will be processed ([#4326](https://togithub.com/rectorphp/rector-src/pull/4326)), Thanks [@staabm](https://togithub.com/staabm)! - Cache unchanged files on dry run v2 ([#4281](https://togithub.com/rectorphp/rector-src/pull/4281)), Thanks [@dorrogeray](https://togithub.com/dorrogeray)!
#### Bugfixes :bug: - \[CodeQuality] Handle crash on variable variable on OptionalParametersAfterRequiredRector ([#4226](https://togithub.com/rectorphp/rector-src/pull/4226)) - Fix LocallyCalledStaticMethodToNonStaticRector with method args ([#4233](https://togithub.com/rectorphp/rector-src/pull/4233)), Thanks [@toastedghost](https://togithub.com/toastedghost)! - Use `FunctionLike` contract instead of union of function-like concrete implementations ([#4241](https://togithub.com/rectorphp/rector-src/pull/4241)), Thanks [@Wirone](https://togithub.com/Wirone)! - \[CodeQuality]\[Performance] Reduce repetitive NodeTypeResolver->getType() on ExprBoolCaster ([#4279](https://togithub.com/rectorphp/rector-src/pull/4279)) - Skip rewindable generator ([#4282](https://togithub.com/rectorphp/rector-src/pull/4282)) - \[Php55]\[NodeTypeResolver] Handle crash on dynamic variable concat assign on StringClassNameToClassConstantRector ([#4283](https://togithub.com/rectorphp/rector-src/pull/4283)) - \[Php55] Clean up FullyQualified assigned to FullyQualified on StringClassNameToClassConstantRector ([#4284](https://togithub.com/rectorphp/rector-src/pull/4284)) - \[TypeDeclaration] Extend NumericReturnTypeFromStrictScalarReturnsRector ([#4297](https://togithub.com/rectorphp/rector-src/pull/4297)) - Skip divide in NumericReturnTypeFromStrictScalarReturnsRector ([#4298](https://togithub.com/rectorphp/rector-src/pull/4298)) - \[TypeDeclaration] Skip once typed and else return array_map() on ReturnTypeFromStrictTypedCallRector ([#4312](https://togithub.com/rectorphp/rector-src/pull/4312)) - Fix command to configure rector ([#4314](https://togithub.com/rectorphp/rector-src/pull/4314)), Thanks [@bertramakers](https://togithub.com/bertramakers)! - \[Performance] \[NodeTypeResolver] Reduce callable traverse usage on ContextNodeVisitor ([#4317](https://togithub.com/rectorphp/rector-src/pull/4317)) - \[CodeQuality] Skip not regex on SimplifyRegexPatternRector ([#4322](https://togithub.com/rectorphp/rector-src/pull/4322)) - \[TypeDeclaration] Handle crash on object shape on ArrayShapeFromConstantArrayReturnRector ([#4323](https://togithub.com/rectorphp/rector-src/pull/4323)) - \[Php81] Skip named constructor on ReadOnlyPropertyRector ([#4359](https://togithub.com/rectorphp/rector-src/pull/4359)) - Skip argument if value equals default value ([#4368](https://togithub.com/rectorphp/rector-src/pull/4368)), Thanks [@stefantalen](https://togithub.com/stefantalen)! - \[MysqlToMysqli] Handle infinite loop on MysqlQueryMysqlErrorWithLinkRector when no connection instance on first dept stmt ([#4375](https://togithub.com/rectorphp/rector-src/pull/4375))
#### Removed :skull: - Remove `removeNode()` method from AbstractRector ([#4225](https://togithub.com/rectorphp/rector-src/pull/4225)) - Remove Kind from doc mapper, as used just once ([#4234](https://togithub.com/rectorphp/rector-src/pull/4234)) - Move LocallyCalledStaticMethodToNonStaticRector to CodeQuality namespace, to avoid dumping removed static set ([#4242](https://togithub.com/rectorphp/rector-src/pull/4242)) - Restore RemoveMethodCallParamRector as used ([#4244](https://togithub.com/rectorphp/rector-src/pull/4244)) - \[Performance] Remove NODES_TO_MATCH constant on RemoveNonExistingVarAnnotationRector ([#4267](https://togithub.com/rectorphp/rector-src/pull/4267)) - Remove VarConstantCommentRector as using unreliable docblocks, better use upcoming PHP 8.3 strict type const ([#4307](https://togithub.com/rectorphp/rector-src/pull/4307)) - \[Naming] Remove BreakingVariableRenameGuard::isUsedInIfAndOtherBranches() to remove previous by types ([#4319](https://togithub.com/rectorphp/rector-src/pull/4319)) - \[Php81] Remove cast check on NullToStrictStringFuncCallArgRector ([#4320](https://togithub.com/rectorphp/rector-src/pull/4320)) - \[PhpParser] Remove BetterNodeFinder::findFirstPreviousOfTypes() ([#4327](https://togithub.com/rectorphp/rector-src/pull/4327)) - Move AddMethodParentCallRector to Symfony Rector ([#4301](https://togithub.com/rectorphp/rector-src/pull/4301))
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.
This PR has been generated by Mend Renovate. View repository job log here.