Skip to content

Commit

Permalink
Update dependency rector/rector to ^0.17.7 (#163)
Browse files Browse the repository at this point in the history
[![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
([#&#8203;4549](https://togithub.com/rectorphp/rector-src/pull/4549))
- Add constuctor support to ReplaceArgumentDefaultValueRector
([#&#8203;4554](https://togithub.com/rectorphp/rector-src/pull/4554))
- StaticMapper: added fast path for IdentifierTypeNode
([#&#8203;4565](https://togithub.com/rectorphp/rector-src/pull/4565)),
Thanks [@&#8203;staabm](https://togithub.com/staabm)!
- Add ReturnTypeFromStrictParamRector
([#&#8203;4501](https://togithub.com/rectorphp/rector-src/pull/4501)),
Thanks [@&#8203;staabm](https://togithub.com/staabm)!
- Add TypedPropertyFromStrictConstructorReadonlyClassRector
([#&#8203;4552](https://togithub.com/rectorphp/rector-src/pull/4552)),
Thanks [@&#8203;staabm](https://togithub.com/staabm)!
- ReturnTypeFromStrictTernaryRector: Support complex ternaries
([#&#8203;4515](https://togithub.com/rectorphp/rector-src/pull/4515)),
Thanks [@&#8203;staabm](https://togithub.com/staabm)!

#### Bugfixes 🐛

- Support final methods in ClassMethodReturnTypeOverrideGuard
([#&#8203;4509](https://togithub.com/rectorphp/rector-src/pull/4509)),
Thanks [@&#8203;staabm](https://togithub.com/staabm)!
- Support literals in ReturnTypeFromStrictTypedCallRector
([#&#8203;4511](https://togithub.com/rectorphp/rector-src/pull/4511)),
Thanks [@&#8203;staabm](https://togithub.com/staabm)!
- \[TypeDeclaration] Null stmts check early on
ReturnTypeFromStrictParamRector
([#&#8203;4512](https://togithub.com/rectorphp/rector-src/pull/4512))
- \[Performance] Use filtered filePaths from
ApplicationFileProcessor::configurePHPStanNodeScopeResolver on
WorkerRunner::run()
([#&#8203;4513](https://togithub.com/rectorphp/rector-src/pull/4513))
- \[DX] Show progress bar 100% on RectorConsoleOutputFormatter::report()
([#&#8203;4516](https://togithub.com/rectorphp/rector-src/pull/4516))
- \[ChangesReporting] Reuse defined errors vairable on
ConsoleOutputFormatter
([#&#8203;4517](https://togithub.com/rectorphp/rector-src/pull/4517))
- \[ApplicationFileProcessor] Refactor ApplicationFileProcessor to
filter file paths early before run both parallel and non-parallel
([#&#8203;4519](https://togithub.com/rectorphp/rector-src/pull/4519))
- \[DX] Fix hang on twice run after all files processed cached
([#&#8203;4521](https://togithub.com/rectorphp/rector-src/pull/4521))
- \[Application] Move filter files by config extensions to FileFactory
([#&#8203;4522](https://togithub.com/rectorphp/rector-src/pull/4522))
- \[Php81]\[Php82]\[Privatization] Handle extends non-readonly class on
ReadOnlyPropertyRector+ReadOnlyClassRector+FinalizeClassesWithoutChildrenRector
([#&#8203;4524](https://togithub.com/rectorphp/rector-src/pull/4524))
- Fix wrong results in RemoveAlwaysElseRector
([#&#8203;4527](https://togithub.com/rectorphp/rector-src/pull/4527)),
Thanks [@&#8203;jlherren](https://togithub.com/jlherren)!
- Support class-const-fetch in ReturnTypeFromStrictTypedCallRector
([#&#8203;4520](https://togithub.com/rectorphp/rector-src/pull/4520)),
Thanks [@&#8203;staabm](https://togithub.com/staabm)!
- \[EarlyReturn] Skip append variable on
PreparedValueToEarlyReturnRector
([#&#8203;4530](https://togithub.com/rectorphp/rector-src/pull/4530))
- Refactor MyCLabs\Enum\Enum::equals calls to comparisons
([#&#8203;4532](https://togithub.com/rectorphp/rector-src/pull/4532)),
Thanks [@&#8203;rojtjo](https://togithub.com/rojtjo)!
- \[Performance]\[NodeManipulator] Avoid loop on search first variable
named on next sliced next stmts on StmtsManipulator
([#&#8203;4537](https://togithub.com/rectorphp/rector-src/pull/4537))
- \[Performance] \[TypeDeclaration] Reduce resolve ClassReflection on
each property on TypedPropertyFromStrictConstructorRector
([#&#8203;4536](https://togithub.com/rectorphp/rector-src/pull/4536))
- \[Performance]\[TypeDeclaration] Reduce resolve ClassReflection from
Property on AllAssignNodePropertyTypeInferer
([#&#8203;4539](https://togithub.com/rectorphp/rector-src/pull/4539))
- \[Application] Merge process files on both parallel and non-parallel
process
([#&#8203;4523](https://togithub.com/rectorphp/rector-src/pull/4523))
- \[PHPStan] Merge assert phpstan errors to one
([#&#8203;4544](https://togithub.com/rectorphp/rector-src/pull/4544))
- \[Performance] \[Php74] Reduce ClassReflection lookup from property on
PropertyTypeChangeGuard
([#&#8203;4545](https://togithub.com/rectorphp/rector-src/pull/4545))
- Use instanceof check on ClassReflection resolve
([#&#8203;4547](https://togithub.com/rectorphp/rector-src/pull/4547))
- \[Reflection] Reduce Scope pulling on ReflectionResolver
([#&#8203;4548](https://togithub.com/rectorphp/rector-src/pull/4548))
- \[Strict] Skip empty() from param doc on
DisallowedEmptyRuleFixerRector
([#&#8203;4550](https://togithub.com/rectorphp/rector-src/pull/4550))
- Fix space in paths
([#&#8203;4553](https://togithub.com/rectorphp/rector-src/pull/4553))
- Skip traits in CountOnNullRector
([#&#8203;4556](https://togithub.com/rectorphp/rector-src/pull/4556))
- Make use of toPhpDocNode() - take
[#&#8203;2](https://togithub.com/rectorphp/rector/issues/2)
([#&#8203;4555](https://togithub.com/rectorphp/rector-src/pull/4555))
- \[Performance] \[PostRector] Only check phpdocinfo on Stmt and Param
on NameImportingPostRector
([#&#8203;4558](https://togithub.com/rectorphp/rector-src/pull/4558))
- \[CodeQuality] Skip pull property from inner class on
CompleteDynamicPropertiesRector
([#&#8203;4561](https://togithub.com/rectorphp/rector-src/pull/4561))
- Prevent unnecessary scope creation
([#&#8203;4562](https://togithub.com/rectorphp/rector-src/pull/4562)),
Thanks [@&#8203;staabm](https://togithub.com/staabm)!
- NameImportingPhpDocNodeVisitor: Cheap checks first
([#&#8203;4563](https://togithub.com/rectorphp/rector-src/pull/4563)),
Thanks [@&#8203;staabm](https://togithub.com/staabm)!
- \[Performance]\[Renaming] No need PhpDocInfo refactor on Name node on
ClassRenamer
([#&#8203;4566](https://togithub.com/rectorphp/rector-src/pull/4566))
- \[TypeDeclaration] Deprecate ArrayShapeFromConstantArrayReturnRector
as uses docblocks that we move away from since 0.15
([#&#8203;4571](https://togithub.com/rectorphp/rector-src/pull/4571))
- Make ReturnTypeFromStrictNewArrayRector handle only single level
arrays
([#&#8203;4575](https://togithub.com/rectorphp/rector-src/pull/4575))
- Fix array mapping
([#&#8203;4576](https://togithub.com/rectorphp/rector-src/pull/4576))
- \[Performance] \[PostRector] Reduce repetitive resolve uses statements
on NameImportingPostRector
([#&#8203;4579](https://togithub.com/rectorphp/rector-src/pull/4579))
- \[EarlyReturn] Handle multiple statements in else in
ChangeIfElseValueAssignToEarlyReturnRector
([#&#8203;4580](https://togithub.com/rectorphp/rector-src/pull/4580)),
Thanks [@&#8203;dorrogeray](https://togithub.com/dorrogeray)!
- \[BUGFIX] Ensure proper reprint with attributes for finalized classes
([#&#8203;4585](https://togithub.com/rectorphp/rector-src/pull/4585)),
Thanks [@&#8203;cngJo](https://togithub.com/cngJo)!

<br>

#### Removed 💀

- \[DX] Remove AllowEmptyConfigurableRectorInterface to ease interface
tree, better handle on particular configure() method inside the rule
([#&#8203;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
([#&#8203;4551](https://togithub.com/rectorphp/rector-src/pull/4551))
- \[Performance]\[PostRector] Remove alias exists check on NameImporter
called from NameImportingPostRector
([#&#8203;4564](https://togithub.com/rectorphp/rector-src/pull/4564))
- \[Performance]\[BetterPhpDocParser] Remove unused ConstExprNode check
on ConstExprClassNameDecorator
([#&#8203;4578](https://togithub.com/rectorphp/rector-src/pull/4578))
- \[PHPStanStaticTypeMapper] Remove manual type check on
PHPStanStaticTypeMapper
([#&#8203;4583](https://togithub.com/rectorphp/rector-src/pull/4583))
- \[StaticTypeMapper] Remove standalone false handling on
StaticTypeMapper
([#&#8203;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
renovate[bot] authored Jul 24, 2023
1 parent 01e9ebe commit f5f99fe
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"phpstan/phpstan-phpunit": "^1.3.13",
"phpstan/phpstan-strict-rules": "^1.5.1",
"phpunit/phpunit": "^10.2.6",
"rector/rector": "^0.17.6",
"rector/rector": "^0.17.7",
"symfony/filesystem": "^6.2"
},
"autoload": {
Expand Down
16 changes: 8 additions & 8 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f5f99fe

Please sign in to comment.