Bump rector/rector from 0.12.23 to 0.13.7
Created by: dependabot[bot]
Bumps rector/rector from 0.12.23 to 0.13.7.
Release notes
Sourced from rector/rector's releases.
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
!- [DowngradePhp80] Do not change correct Union array docblock to mixed[] on DowngradeUnionTypeDeclarationRector (#2555)
- [CodeQuality] Drop ArrayThisCallToThisMethodCallRector as changes behavior and better handled by FirstClassCallableRector (#2571)
Released Rector 0.13.6
New Features
🎉
- [Core] AbstractScopeAwareRector is ready to be used in custom rules (#2537)
- [PHP 8.1] Add FirstClassCallableRector (#2544)
- [Php81] NullToStrictStringFuncCallArgRector - Register more functions (#2543), Thanks
@hungtrinh
!- Improve RectorConfig import methods (#2526), Thanks
@alexndlm
!Bugfixes
🐛
- [Renaming] Do not rename docblock same name not found in use inside namespace (#2471)
- [TypeDeclaration] Skip generic on ReturnTypeDeclarationRector (#2469)
- [DeadCode] Skip using coealesce assign operator on return on RemoveUnusedPrivatePropertyRector (#2476)
- [DeadCode] Skip has return reassign Coalesce Op on RemoveUnusedPrivatePropertyRector (#2477)
- [Php55] Handle crash on concat variable single quote on PregReplaceEModifierRector (#2483)
- [PSR4] Handle invalid missing ; on NormalizeNamespaceByPSR4ComposerAutoloadRector with GroupUse (#2488)
- [Php70] Refactor MultiDirnameRector by moving nestingLevel check to separate method (#2492)
- [Php81] Fix crash on redis->set() on ReadOnlyPropertyRector (#2494)
- [TypeDeclaration] Skip implements mixed, and already has typed return on AddReturnTypeDeclarationRector (#2509)
- [Php81] Skip param reassign on ReadOnlyPropertyRector (#2498)
- [CodeQuality] Fix default array param in CallableThisArrayToAnonymousFunctionRector (#2527)
- [Transform] Handle with this->method() from current class on MethodCallToMethodCallRector (#2531)
- [PHP 7.0] skip non-existing method in StaticCallOnNonStaticToInstanceCallRector (#2532)
- [PHP 7.4] Skip default expr type on property, if there is mixed assign (#2534)
- [Php56] Skip multiple catch with same variable on AddDefaultValueForUndefinedVariableRector (#2533)
- [Php80] Skip Assign on its var not directly used in next return on ChangeSwitchToMatchRector (#2535), #7247
- [Php81] Skip str_replace() pass array subject on NullToStrictStringFuncCallArgRector (#2541)
Released Rector 0.13.5
New Features
🎉
... (truncated)
Commits
-
3574bf6
Rector 0.13.7 -
b8ba3df
Updated Rector to commit 4ef72542a3d609eb0ba367cb2a00af7894fc50f0 -
19c1fb9
Updated Rector to commit 87b3ad56dd568ad4c17daafdca20c5aa865e2108 -
f0abc6f
Updated Rector to commit 250bcbbd2fd23f9dcbb697640dd40dee78aadc66 -
6f73a90
Updated Rector to commit d1807682bf00aeb1cbe87756a897b7ff77bd2bf5 -
7cf1d35
Updated Rector to commit 1d037d151f713a2568159a3aad82121cbd076883 -
0b6c455
Updated Rector to commit 719191352dfaca9a04916c194c914cc3e15e8949 -
846aa2b
Updated Rector to commit e97dd8f3607c8f0d038ef630f6e4bc5bccf58a89 -
bebb656
Updated Rector to commit 92621698c22c5ea04799c1233f9522cdf7ac651d -
f2b6b30
Updated Rector to commit e81691f1c68a976c1589830642cd45873389d962 - 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)