Bump rector/rector from 0.12.20 to 0.12.23
Created by: dependabot[bot]
Bumps rector/rector from 0.12.20 to 0.12.23.
Release notes
Sourced from rector/rector's releases.
Released Rector 0.12.23
This release fixes major slowdown on find parents node rules in stmts: rectorphp/rector#7144, thanks for report and provided detailed info
@bobvandevijver
and@jrmcpeek
🙇 Update as soon as possible to enjoy the speed again
👍
- [Code] Improve BetterNodeFinder::findFirstPrevious() to only locate previous of parent if no previous of Node (#2209), Thanks
@samsonasik
!New Features
🎉
- [CodeQuality] Add InlineArrayReturnAssignRector (#2183)
- Add RectorConfigProvider to ask for configuration behave for 3rd party packages (#2187)
- [Core] Add $seconds, $maxNumberOfProcess, and $jobSize parameters to RectorConfig::parallel() method (#2188), Thanks
@samsonasik
!- [DX] Move PhpVersionProvider from AbstractRector to particular services (#2189)
- [DowngradePhp80] Support match as array item in DowngradeMatchToSwitchRector (#2178), Thanks
@jrstanley
!Bugfixes
🐛
- [DeadCode] Improve RemoveUnreachableStatementRector performance by return after array_splice early (#2193), Thanks
@samsonasik
!- [DeadCode] Register array_splice into impure functions on PureFunctionDetector (#2194), Thanks
@samsonasik
!- [CodingStyle] Skip readonly type property on AddArrayDefaultToArrayPropertyRector (#2196), Thanks
@samsonasik
!- [DeadCode] Remove RemoveCodeAfterReturnRector, already handled at RemoveUnreachableStatementRector (#2199), Thanks
@samsonasik
!Released Rector 0.12.22
This release slowly moves towards
RectorConfig
to improve Rector isolation from your project and ease to configuration. You can read more about it here: https://getrector.org/blog/new-in-rector-012-introducing-rector-config-with-autocompleteNew Features
🎉
- [DX] Update super old configure to RectorConfig (#2121)
- [DX] Add RectorConfig upgrade rule to make upgrade easier :) (#2098)
- Improve BetterNodeFinder::findFirstPrevious() to work without statements (#2136)
- Invalidate errored files in cache, to avoid hiding errors (#2138)
- [NodeCollector] Remove CurrentStmtResolver service (#2143), Thanks
@samsonasik
!- [DX] Add note warning about using old config (#2177), Thanks
@dritter
!- DowngradeMatchToSwitchRector adds Method and Function call support (#2173), Thanks
@jrstanley
!Bugfixes
🐛
- [Fix][InlineSimplePropertyAnnotationRector] Add test case and minor fix (#2096), Thanks
@dorrogeray
!- [TypeDeclaration] Skip union param type on AddArrayParamDocTypeRector (#2119), Thanks
@samsonasik
!- [TypeDeclaration] Skip return property not exists by ClassReflection on ReturnTypeDeclarationRector (#2134), Thanks
@samsonasik
!- [Php80] Handle named type on JMS\AccessType on AnnotationToAttributeRector (#2141), Thanks
@samsonasik
!- [DeadCode] Skip remove variable on switch use return after break on RemoveUnusedVariableAssignRector (#2145), Thanks
@samsonasik
!- [Php80] Skip different type cases cond on ChangeSwitchToMatchRector (#2147), Thanks
@samsonasik
!- Remove PREVIOUS_STATEMENT from StatementNodeVisitor (#2146)
- Remove CURRENT_STATEMENT where not needed (#2149)
... (truncated)
Commits
-
690b317
Rector 0.12.23 -
4285b35
Updated Rector to commit d5c927a40cb73a15185f59566406b75df678e1a4 -
3ec2143
Updated Rector to commit 22bdd60e18902efa9f7c6139d0d332b0538cfbe3 -
2778585
Updated Rector to commit 029820474caccc685a5ed330da5df3d5465b57f4 -
4b7ca79
Updated Rector to commit 039181ac6c68cd6e4acf5db945b0954893a196a6 -
0263197
Updated Rector to commit 3f1f632c0407d2560116e919f515909a70978cff -
fe9dc1c
Updated Rector to commit 1ff8eea8be28f11fc52f31d6302c761936818ced -
905102e
Updated Rector to commit c8b47df3e4fbd475e474528391e24d2902cd4a8f -
bd67546
Updated Rector to commit f30523f9823bd09be4eb3ca742c55bbace846a06 -
7a30fbb
Updated Rector to commit c8b47df3e4fbd475e474528391e24d2902cd4a8f - Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)