Bump rector/rector from 0.12.23 to 0.13.8
Created by: dependabot[bot]
Bumps rector/rector from 0.12.23 to 0.13.8.
Release notes
Sourced from rector/rector's releases.
Released Rector 0.13.8
New Features
🎉
- [CodeQuality] Add TernaryFalseExpressionToIfRector (#2590)
- [TypeDeclaration] Add ReturnTypeFromStrictScalarReturnExprRector (#2601)
- [EarlyReturn] Add ReturnEarlyIfVariableRector (#2609)
- [Php54] Add ArrayToShortArrayRector (#2615), Thanks
@edsrzf
!- [DeadCode] Add RemoveJustVariableAssignRector (#2618)
- [TypeDeclaration] Add TypedPropertyFromStrictSetUpRector (#2636)
Bugfixes
🐛
- [DeadCode] Handle always terminated Switch_ on RemoveUnreachableStatementRector (#2591)
- [DeadCode] Handle collection of Case_ on RemoveUnreachableStatementRector (#2593)
- [DeadCode] Handle anonymous and arrow function uses in RemoveJustPropertyFetchRector (#2592), Thanks
@kick-the-bucket
!- [Naming] Skip used in arrow function args on RenameVariableToMatchMethodCallReturnTypeRector (#2599)
- [TypeDeclaration] Skip AddArrayReturnDocTypeRector on custom phpstan type (#2608)
- [DeadCode] Handle edge cases on RemoveJustVariableAssignRector (#2621)
- [Php71] Skip First Class Callable on RemoveExtraParametersRector (#2622)
- [CodeQuality] Fix CompactToVariablesRector to resolve values when the compact() is called (#2627)
- [DX] Improve direct return of Stmt arrays in Rector rules, remove NodesToAddCollector from AbstractRector (#2623)
- [CodingStyle] Handle VarConstantCommentRector+NewlineAfterStatementRector (#2629)
- [Php80] Skip no default on case collection assign on ChangeSwitchToMatchRector (#2631)
- [DeadCode] Do not remove first class callable VariadicPlaceholder arg on RemoveUnusedPrivateMethodParameterRector (#2634)
- [TypeDeclaration] Do not change more detailed return doc on ReturnTypeFromStrictNewArrayRector (#2638)
Removed
🗑
- Remove RemoveOverriddenValuesRector as flow of control is not reliable and could cause invalid removal (#2614)
- [CodeQuality] Remove DateTimeToDateTimeInterfaceRector as mostly opinionated and way too much generics (#2598)
- [EarlyReturn] Remove ReturnAfterToEarlyOnBreakRector as risky and turning around next/previous nodes (#2624)
- [Transform] Remove CallableInMethodCallToVariableRector as very narrow use case and sensitive to wrong change (#2625)
Released Rector 0.13.7
New Features
🎉
- Decouple new Downgrade PHP package: https://github.com/rectorphp/rector-downgrade-php
- [TypeDeclaration] Add ReturnTypeFromStrictReturnExprRector (#2563)
- [TypeDeclaration] Add ReturnTypeFromStrictNativeFuncCallRector (#2570)
- [TypeDeclaration] Add ReturnTypeFromStrictNewArrayRector (#2572)
- [DowngradePhp80] Add DowngradeMixedTypeTypedPropertyRector (#2579)
- [Parallel] Display stack trace on --debug on parallel (#2561)
- Bump PHPStan to 1.8 (#2588)
Bugixes
🐛
- [PSR4] Do not remove declare(strict_types=1) on NormalizeNamespaceByPSR4ComposerAutoloadRector (#2551)
- [Php54] Add MethodCall and StaticCall support on RemoveReferenceFromCallRector (#2553)
- Clean MethodToMethodCallRector (#2554) , Thanks
@SelrahcD
!
... (truncated)
Commits
-
6e01478
Rector 0.13.8 -
239f912
Updated Rector to commit b67bf649899000a913c4c91ec7ce43b165aa471d -
336a52b
Updated Rector to commit 22f2acadf73bc00a350b6b457db51eb5e0353d89 -
e86c09a
Updated Rector to commit 7916cd907d55e32e9711ee7dc07ed45016eff152 -
331fec3
Updated Rector to commit e6cc503e24bbbc362d6e05b4f4a322ff97c09457 -
920b431
Updated Rector to commit 53bddfb185b596a354ac946cec2788a169ae4fe6 -
8166210
Updated Rector to commit 649e5119376355e4d009f5db569b3785d10aaa37 -
4c0b7db
Updated Rector to commit 3f877913606cc29dd71cf937119b90177ad2b14c -
4734e9d
Updated Rector to commit 2267ca2a16768e21da5fbfff53844ab5fb87f264 -
ff718bc
Updated Rector to commit 329b4f2e6f13394b56eb4ad01e020fc651fc83d5 - 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)