Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependency rector/rector to ^0.17.7 (#163)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [rector/rector](https://getrector.org) ([source](https://togithub.com/rectorphp/rector)) | require-dev | patch | `^0.17.6` -> `^0.17.7` | --- ### Release Notes <details> <summary>rectorphp/rector (rector/rector)</summary> ### [`v0.17.7`](https://togithub.com/rectorphp/rector/releases/tag/0.17.7): Released Rector 0.17.7 [Compare Source](https://togithub.com/rectorphp/rector/compare/0.17.6...0.17.7) #### New Features 🥳 - \[CodingStyle] Skip filled by construct on AddArrayDefaultToArrayPropertyRector ([#​4549](https://togithub.com/rectorphp/rector-src/pull/4549)) - Add constuctor support to ReplaceArgumentDefaultValueRector ([#​4554](https://togithub.com/rectorphp/rector-src/pull/4554)) - StaticMapper: added fast path for IdentifierTypeNode ([#​4565](https://togithub.com/rectorphp/rector-src/pull/4565)), Thanks [@​staabm](https://togithub.com/staabm)! - Add ReturnTypeFromStrictParamRector ([#​4501](https://togithub.com/rectorphp/rector-src/pull/4501)), Thanks [@​staabm](https://togithub.com/staabm)! - Add TypedPropertyFromStrictConstructorReadonlyClassRector ([#​4552](https://togithub.com/rectorphp/rector-src/pull/4552)), Thanks [@​staabm](https://togithub.com/staabm)! - ReturnTypeFromStrictTernaryRector: Support complex ternaries ([#​4515](https://togithub.com/rectorphp/rector-src/pull/4515)), Thanks [@​staabm](https://togithub.com/staabm)! #### Bugfixes 🐛 - Support final methods in ClassMethodReturnTypeOverrideGuard ([#​4509](https://togithub.com/rectorphp/rector-src/pull/4509)), Thanks [@​staabm](https://togithub.com/staabm)! - Support literals in ReturnTypeFromStrictTypedCallRector ([#​4511](https://togithub.com/rectorphp/rector-src/pull/4511)), Thanks [@​staabm](https://togithub.com/staabm)! - \[TypeDeclaration] Null stmts check early on ReturnTypeFromStrictParamRector ([#​4512](https://togithub.com/rectorphp/rector-src/pull/4512)) - \[Performance] Use filtered filePaths from ApplicationFileProcessor::configurePHPStanNodeScopeResolver on WorkerRunner::run() ([#​4513](https://togithub.com/rectorphp/rector-src/pull/4513)) - \[DX] Show progress bar 100% on RectorConsoleOutputFormatter::report() ([#​4516](https://togithub.com/rectorphp/rector-src/pull/4516)) - \[ChangesReporting] Reuse defined errors vairable on ConsoleOutputFormatter ([#​4517](https://togithub.com/rectorphp/rector-src/pull/4517)) - \[ApplicationFileProcessor] Refactor ApplicationFileProcessor to filter file paths early before run both parallel and non-parallel ([#​4519](https://togithub.com/rectorphp/rector-src/pull/4519)) - \[DX] Fix hang on twice run after all files processed cached ([#​4521](https://togithub.com/rectorphp/rector-src/pull/4521)) - \[Application] Move filter files by config extensions to FileFactory ([#​4522](https://togithub.com/rectorphp/rector-src/pull/4522)) - \[Php81]\[Php82]\[Privatization] Handle extends non-readonly class on ReadOnlyPropertyRector+ReadOnlyClassRector+FinalizeClassesWithoutChildrenRector ([#​4524](https://togithub.com/rectorphp/rector-src/pull/4524)) - Fix wrong results in RemoveAlwaysElseRector ([#​4527](https://togithub.com/rectorphp/rector-src/pull/4527)), Thanks [@​jlherren](https://togithub.com/jlherren)! - Support class-const-fetch in ReturnTypeFromStrictTypedCallRector ([#​4520](https://togithub.com/rectorphp/rector-src/pull/4520)), Thanks [@​staabm](https://togithub.com/staabm)! - \[EarlyReturn] Skip append variable on PreparedValueToEarlyReturnRector ([#​4530](https://togithub.com/rectorphp/rector-src/pull/4530)) - Refactor MyCLabs\Enum\Enum::equals calls to comparisons ([#​4532](https://togithub.com/rectorphp/rector-src/pull/4532)), Thanks [@​rojtjo](https://togithub.com/rojtjo)! - \[Performance]\[NodeManipulator] Avoid loop on search first variable named on next sliced next stmts on StmtsManipulator ([#​4537](https://togithub.com/rectorphp/rector-src/pull/4537)) - \[Performance] \[TypeDeclaration] Reduce resolve ClassReflection on each property on TypedPropertyFromStrictConstructorRector ([#​4536](https://togithub.com/rectorphp/rector-src/pull/4536)) - \[Performance]\[TypeDeclaration] Reduce resolve ClassReflection from Property on AllAssignNodePropertyTypeInferer ([#​4539](https://togithub.com/rectorphp/rector-src/pull/4539)) - \[Application] Merge process files on both parallel and non-parallel process ([#​4523](https://togithub.com/rectorphp/rector-src/pull/4523)) - \[PHPStan] Merge assert phpstan errors to one ([#​4544](https://togithub.com/rectorphp/rector-src/pull/4544)) - \[Performance] \[Php74] Reduce ClassReflection lookup from property on PropertyTypeChangeGuard ([#​4545](https://togithub.com/rectorphp/rector-src/pull/4545)) - Use instanceof check on ClassReflection resolve ([#​4547](https://togithub.com/rectorphp/rector-src/pull/4547)) - \[Reflection] Reduce Scope pulling on ReflectionResolver ([#​4548](https://togithub.com/rectorphp/rector-src/pull/4548)) - \[Strict] Skip empty() from param doc on DisallowedEmptyRuleFixerRector ([#​4550](https://togithub.com/rectorphp/rector-src/pull/4550)) - Fix space in paths ([#​4553](https://togithub.com/rectorphp/rector-src/pull/4553)) - Skip traits in CountOnNullRector ([#​4556](https://togithub.com/rectorphp/rector-src/pull/4556)) - Make use of toPhpDocNode() - take [#​2](https://togithub.com/rectorphp/rector/issues/2) ([#​4555](https://togithub.com/rectorphp/rector-src/pull/4555)) - \[Performance] \[PostRector] Only check phpdocinfo on Stmt and Param on NameImportingPostRector ([#​4558](https://togithub.com/rectorphp/rector-src/pull/4558)) - \[CodeQuality] Skip pull property from inner class on CompleteDynamicPropertiesRector ([#​4561](https://togithub.com/rectorphp/rector-src/pull/4561)) - Prevent unnecessary scope creation ([#​4562](https://togithub.com/rectorphp/rector-src/pull/4562)), Thanks [@​staabm](https://togithub.com/staabm)! - NameImportingPhpDocNodeVisitor: Cheap checks first ([#​4563](https://togithub.com/rectorphp/rector-src/pull/4563)), Thanks [@​staabm](https://togithub.com/staabm)! - \[Performance]\[Renaming] No need PhpDocInfo refactor on Name node on ClassRenamer ([#​4566](https://togithub.com/rectorphp/rector-src/pull/4566)) - \[TypeDeclaration] Deprecate ArrayShapeFromConstantArrayReturnRector as uses docblocks that we move away from since 0.15 ([#​4571](https://togithub.com/rectorphp/rector-src/pull/4571)) - Make ReturnTypeFromStrictNewArrayRector handle only single level arrays ([#​4575](https://togithub.com/rectorphp/rector-src/pull/4575)) - Fix array mapping ([#​4576](https://togithub.com/rectorphp/rector-src/pull/4576)) - \[Performance] \[PostRector] Reduce repetitive resolve uses statements on NameImportingPostRector ([#​4579](https://togithub.com/rectorphp/rector-src/pull/4579)) - \[EarlyReturn] Handle multiple statements in else in ChangeIfElseValueAssignToEarlyReturnRector ([#​4580](https://togithub.com/rectorphp/rector-src/pull/4580)), Thanks [@​dorrogeray](https://togithub.com/dorrogeray)! - \[BUGFIX] Ensure proper reprint with attributes for finalized classes ([#​4585](https://togithub.com/rectorphp/rector-src/pull/4585)), Thanks [@​cngJo](https://togithub.com/cngJo)! <br> #### Removed 💀 - \[DX] Remove AllowEmptyConfigurableRectorInterface to ease interface tree, better handle on particular configure() method inside the rule ([#​4540](https://togithub.com/rectorphp/rector-src/pull/4540)) - Skip description on same line, remove on next line as based on phpdoc-parser in RemoveUselessParamTagRector ([#​4551](https://togithub.com/rectorphp/rector-src/pull/4551)) - \[Performance]\[PostRector] Remove alias exists check on NameImporter called from NameImportingPostRector ([#​4564](https://togithub.com/rectorphp/rector-src/pull/4564)) - \[Performance]\[BetterPhpDocParser] Remove unused ConstExprNode check on ConstExprClassNameDecorator ([#​4578](https://togithub.com/rectorphp/rector-src/pull/4578)) - \[PHPStanStaticTypeMapper] Remove manual type check on PHPStanStaticTypeMapper ([#​4583](https://togithub.com/rectorphp/rector-src/pull/4583)) - \[StaticTypeMapper] Remove standalone false handling on StaticTypeMapper ([#​4582](https://togithub.com/rectorphp/rector-src/pull/4582)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Lendable/composer-license-checker). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMS4wIiwidXBkYXRlZEluVmVyIjoiMzYuMTEuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
- Loading branch information