Bump rector/rector from 0.12.23 to 0.14.8
Created by: dependabot[bot]
Bumps rector/rector from 0.12.23 to 0.14.8.
Release notes
Sourced from rector/rector's releases.
Released Rector 0.14.8
New Features :partying_face:
- Update PHP-Parser to ^4.15.2 (#3057)
- [Php80] Add $object::class support on GetDebugTypeRector (#3039)
- [Php81] Register uniqid function on NullToStrictStringFuncCallArgRector (#3045), Thanks
@bkosun
!- [Init] Add smart paths detection to "init" command to make first Rector experience better (#3050)
- [Core] Improve performance: only reindex Node Attributes when Original Node is not null (#3043)
- [Core] Improve performance: only update and connect parent Node when different Node (#3044)
- [Core] Improve performance: remove unnecessary loop StmtsAwareInterface to fill Scope on PHPStanNodeScopeResolver (#3048)
- [Core] Improve performance on NodeComparator (#3049)
- [Core] Improve performance: verify consecutive execute same Rector Rule when Original Node is Null (#3047)
- [Core] Improve performance: remove unnecessary loop on SimpleCallableNodeTraverser (#3053)
Bugfixes
🐛
- [Caching] Fix cache consecutive run rector with --dry-run (#3060)
- [Php80][CodeQuality] Handle crash on ExplicitMethodCallOverMagicGetSetRector+ChangeSwitchToMatchRector (#3034)
- [Php55] Handle crash on ([[:upper:]]+) regex on PregReplaceEModifierRector (#3037)
- Apply node->isFirstCallable() check early before ->getArgs() when possible on CallLike (#3038)
- Fix var/property usage for RemoveUnusedNonEmptyArrayBeforeForeachRector. (#3040), Thanks
@Wohlie
!- [Php81][Restoration] Handle crash on ReadOnlyPropertyRector+MakeTypedPropertyNullableIfCheckedRector (#3046)
- Re-print on constructor promotion (#3051), Thanks
@greg0ire
!- remove NodeTypeAnalyzer (#3055), Thanks
@staabm
!- [Core] Fix resolve scope handling when parent Node just re-printed (#3056)
Released Rector 0.14.7
New Features :partying_face:
- Move Rector Laravel to the community (#3019) - thanks to
@driftingly
for taking package further👏 - [CodeQuality] Add TernaryEmptyArrayArrayDimFetchToCoalesceRector (#3027)
- NullToStrictStringFuncCallArgRector - Register a few more functions (#2994), Thanks
@craigfrancis
!- Update all classlike pseudo rector (#3002), Thanks
@webmaster777
!- Register Ctype functions (#3008), Thanks
@bkosun
!- Compatibility with BetterReflection 6.x (#2999), Thanks
@ondrejmirtes
!Bugfixes
🐛
- [CodeQuality] Skip different array_filter value on SimplifyEmptyArrayCheckRector (#3000)
- [CodeQuality] Skip different value left and right on SimplifyEmptyArrayCheckRector (#2998)
- [Php70] Handle crash on First class callable on ThisCallOnStaticMethodToStaticCallRector (#3003)
- [Down_To_PHP71] Handle Downgrade Param Widening + Downgrade Reflection Get on DowngradeLevelSetList::DOWN_TO_PHP_71 (#3001)
- Add real path to filePaths when not false (#3004), Thanks
@jamwid07
!- [DeadCode] Handle RemoveUnusedPrivateMethodRector+RemoveDuplicatedIfReturnRector when private method used in FuncCall with ArrowFunction (#3007)
- [Php80] Handle crash on extends \mysqli on AddParamBasedOnParentClassMethodRector (#3009)
- [Php80] Skip callable type different definition on ClassPropertyAssignToConstructorPromotionRector (#3010)
- [EarlyReturn] Handle crash on RemoveAlwaysElseRector+ReturnEarlyIfVariableRector (#3011)
- [DeadCode] Handle crash on has first class callable on RemoveUnusedConstructorParamRector (#3015)
- [Php80] Handle nested annotation not end with () on AnnotationToAttributeRector (#3017)
... (truncated)
Commits
-
46ee9a1
Rector 0.14.8 -
e97dbec
Updated Rector to commit 2af80959bc599d7318c1fe4f1662c411937634be -
cf32f86
Updated Rector to commit 419c4f8e5268854e234b14e62dfc2d90d904951b -
3495067
Updated Rector to commit 2be958b4e4db947c63777443eafb886274a5c7c7 -
c976b41
Updated Rector to commit 2be958b4e4db947c63777443eafb886274a5c7c7 -
142e95d
Updated Rector to commit 295c489f26f3509e9980ea0529137e710e7227e3 -
4464342
Updated Rector to commit 03f627b38589a03c59108e71d66fb3c04bf0dacf -
311b8e7
Updated Rector to commit 3fd129ff50ca57f219130fe9665bd4951fac42bd -
726ca40
Updated Rector to commit 64f4a55aa43b1197247637192b04bc48c7a77877 -
d48b0e7
Updated Rector to commit a8fd5aacc7d1adc87d971e29604deacdcc3376c1 - 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)