rectorphp/rector (rector/rector)
### [`v0.19.6`](https://togithub.com/rectorphp/rector/releases/tag/0.19.6): Released Rector 0.19.6
[Compare Source](https://togithub.com/rectorphp/rector/compare/0.19.5...0.19.6)
#### New Features and Changes :partying_face:
- \[EarlyReturn] Improve RemoveAlwaysElseRector to handle multiple ElseIfs ([#8178](https://togithub.com/rectorphp/rector/issues/8178)) ([#5521](https://togithub.com/rectorphp/rector-src/pull/5521)), Thanks [@pkvach](https://togithub.com/pkvach)!
- \[Privatization] Add FinalizeTestCaseClassRector ([#5539](https://togithub.com/rectorphp/rector-src/pull/5539))
- Add support for YieldFrom into places where Yield\_ is checked ([#5499](https://togithub.com/rectorphp/rector-src/pull/5499)), Thanks [@integer](https://togithub.com/integer)!
- \[Transform] Add RectorConfigBuilderRector ([#5551](https://togithub.com/rectorphp/rector-src/pull/5551))
- \[DX] Warn about run on /vendor directory ([#5525](https://togithub.com/rectorphp/rector-src/pull/5525))
- \[DX] PHP sets should not disable all other version-based rules ([#5527](https://togithub.com/rectorphp/rector-src/pull/5527))
- **\[stabilize] Deprecate FinalizeClassesWithoutChildrenRector as causing bugs without full context ([#5535](https://togithub.com/rectorphp/rector-src/pull/5535))**
#### Bugfixes :bug:
- **Fix xdebug handling ([#5544](https://togithub.com/rectorphp/rector-src/pull/5544)), Thanks [@staabm](https://togithub.com/staabm)!**
- Added 4 methods into RectorConfigBuilder ([#5524](https://togithub.com/rectorphp/rector-src/pull/5524)), Thanks [@Perf](https://togithub.com/Perf)!
- Fix AddMethodCallBasedStrictParamTypeRector if already has a type ([#5530](https://togithub.com/rectorphp/rector-src/pull/5530))
- \[CodingStyle] Return null on no change on StrictArraySearchRector ([#5528](https://togithub.com/rectorphp/rector-src/pull/5528))
- \[Php81] Allow nullable union on NullToStrictStringFuncCallArgRector ([#5532](https://togithub.com/rectorphp/rector-src/pull/5532))
- \[stabilize] Deprecate FinalizePublicClassConstantRector as not reliable and causes uncontroller changed ([#5534](https://togithub.com/rectorphp/rector-src/pull/5534))
- \[TypeDeclaration] Change bool to false or true docblock when union has false/true standalone type on ReturnUnionTypeRector ([#5543](https://togithub.com/rectorphp/rector-src/pull/5543))
- \[EarlyReturn] Skip append variable in PreparedValueToEarlyReturnRector ([#8390](https://togithub.com/rectorphp/rector/issues/8390)) ([#5545](https://togithub.com/rectorphp/rector-src/pull/5545)), Thanks [@pkvach](https://togithub.com/pkvach)!
- Fix make ReadOnlyPropertyRector skip if traits are used, as not reliable ([#5548](https://togithub.com/rectorphp/rector-src/pull/5548))
- Kick off basic rector.php with simpler and more practical rule ([#5552](https://togithub.com/rectorphp/rector-src/pull/5552))
#### Removed :skull:
- Exclude finalize rule from private set, to keep safer ([#5523](https://togithub.com/rectorphp/rector-src/pull/5523))
- \[Performance] Remove CollectedData on ProcessResult ([#5520](https://togithub.com/rectorphp/rector-src/pull/5520))
- \[stabilize] Remove family tree check from ClassMethodParamVendorLockResolver as not reliable ([#5536](https://togithub.com/rectorphp/rector-src/pull/5536))
- \[stabilize] Remove child classes from MixedTypeRector as not reliable ([#5537](https://togithub.com/rectorphp/rector-src/pull/5537))
- \[stabilize] Remove last children method checks ([#5538](https://togithub.com/rectorphp/rector-src/pull/5538))
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 contains the following updates:
0.19.5
->0.19.6
Release Notes
rectorphp/rector (rector/rector)
### [`v0.19.6`](https://togithub.com/rectorphp/rector/releases/tag/0.19.6): Released Rector 0.19.6 [Compare Source](https://togithub.com/rectorphp/rector/compare/0.19.5...0.19.6) #### New Features and Changes :partying_face: - \[EarlyReturn] Improve RemoveAlwaysElseRector to handle multiple ElseIfs ([#8178](https://togithub.com/rectorphp/rector/issues/8178)) ([#5521](https://togithub.com/rectorphp/rector-src/pull/5521)), Thanks [@pkvach](https://togithub.com/pkvach)! - \[Privatization] Add FinalizeTestCaseClassRector ([#5539](https://togithub.com/rectorphp/rector-src/pull/5539)) - Add support for YieldFrom into places where Yield\_ is checked ([#5499](https://togithub.com/rectorphp/rector-src/pull/5499)), Thanks [@integer](https://togithub.com/integer)! - \[Transform] Add RectorConfigBuilderRector ([#5551](https://togithub.com/rectorphp/rector-src/pull/5551)) - \[DX] Warn about run on /vendor directory ([#5525](https://togithub.com/rectorphp/rector-src/pull/5525)) - \[DX] PHP sets should not disable all other version-based rules ([#5527](https://togithub.com/rectorphp/rector-src/pull/5527)) - **\[stabilize] Deprecate FinalizeClassesWithoutChildrenRector as causing bugs without full context ([#5535](https://togithub.com/rectorphp/rector-src/pull/5535))**#### Bugfixes :bug: - **Fix xdebug handling ([#5544](https://togithub.com/rectorphp/rector-src/pull/5544)), Thanks [@staabm](https://togithub.com/staabm)!** - Added 4 methods into RectorConfigBuilder ([#5524](https://togithub.com/rectorphp/rector-src/pull/5524)), Thanks [@Perf](https://togithub.com/Perf)! - Fix AddMethodCallBasedStrictParamTypeRector if already has a type ([#5530](https://togithub.com/rectorphp/rector-src/pull/5530)) - \[CodingStyle] Return null on no change on StrictArraySearchRector ([#5528](https://togithub.com/rectorphp/rector-src/pull/5528)) - \[Php81] Allow nullable union on NullToStrictStringFuncCallArgRector ([#5532](https://togithub.com/rectorphp/rector-src/pull/5532)) - \[stabilize] Deprecate FinalizePublicClassConstantRector as not reliable and causes uncontroller changed ([#5534](https://togithub.com/rectorphp/rector-src/pull/5534)) - \[TypeDeclaration] Change bool to false or true docblock when union has false/true standalone type on ReturnUnionTypeRector ([#5543](https://togithub.com/rectorphp/rector-src/pull/5543)) - \[EarlyReturn] Skip append variable in PreparedValueToEarlyReturnRector ([#8390](https://togithub.com/rectorphp/rector/issues/8390)) ([#5545](https://togithub.com/rectorphp/rector-src/pull/5545)), Thanks [@pkvach](https://togithub.com/pkvach)! - Fix make ReadOnlyPropertyRector skip if traits are used, as not reliable ([#5548](https://togithub.com/rectorphp/rector-src/pull/5548)) - Kick off basic rector.php with simpler and more practical rule ([#5552](https://togithub.com/rectorphp/rector-src/pull/5552))
#### Removed :skull: - Exclude finalize rule from private set, to keep safer ([#5523](https://togithub.com/rectorphp/rector-src/pull/5523)) - \[Performance] Remove CollectedData on ProcessResult ([#5520](https://togithub.com/rectorphp/rector-src/pull/5520)) - \[stabilize] Remove family tree check from ClassMethodParamVendorLockResolver as not reliable ([#5536](https://togithub.com/rectorphp/rector-src/pull/5536)) - \[stabilize] Remove child classes from MixedTypeRector as not reliable ([#5537](https://togithub.com/rectorphp/rector-src/pull/5537)) - \[stabilize] Remove last children method checks ([#5538](https://togithub.com/rectorphp/rector-src/pull/5538))
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.
Read more information about the use of Renovate Bot within Laminas.