chore(deps): update dependency rector/rector to v2 #1824
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^1.0->^2.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
rectorphp/rector (rector/rector)
v2.2.14: Released Rector 2.2.14Compare Source
Bugfixes 🐛
FirstClassCallableRectorand mark as deprecated to keep BC (#7742)v2.2.13: Released Rector 2.2.13Compare Source
Bugfixes 🐛
v2.2.12: Released Rector 2.2.12Compare Source
Bugfixes 🐛
NewlineBetweenClassLikeStmtsRector(#7698), Thanks @parth391!SetTypeToCastRector(#7699)NodeTravser::*where possible, use node visitor attribute key instead (#7697)Removed and Deprecated 💀
rectorphp/rector-symfony 🎵
RemoveEraseCredentialsRectorfrom symfony 7.3 to symfony 8.0 (#895), Thanks @EJTJ3ControllerMethodInjectionToConstructorRector(#894)ControllerMethodInjectionToConstructorRector(#893)v2.2.11: Released Rector 2.2.11Compare Source
Bugfixes 🐛
Removed and Deprecated 💀
rectorphp/rector-symfony
RemoveEraseCredentialsRectorfrom symfony 7.3 to symfony 8.0 (#895), Thanks @EJTJ3ControllerMethodInjectionToConstructorRector(#894)ControllerMethodInjectionToConstructorRector(#893)v2.2.10: Released Rector 2.2.10Compare Source
New Features and Improvements 🥳
SortNamedParamRector(#7684), Thanks @VincentLanglet!Bugfixes 🐛
NewlineBetweenClassLikeStmtsRector(#7687)ShortenElseIfRector(#7686)rectorphp/rector-symfony 🎵
rectorphp/rector-phpunit 🟢
v2.2.9: Released Rector 2.2.9Compare Source
New Features and Changes 🥳
RemoveReturnThisFromSetterClassMethodRector(#7624)FluentSettersToStandaloneCallMethodRector(#7625)RemoveNextSameValueConditionRector(#7525)StmtsAwareInterfaceinterface and replace with meta-type + groups (#7679) - How to upgrade?Bugfixes 🐛
ClosureFromCallableToFirstClassCallableRector(#7632), Thanks @devnix!spl_object_id()if no change in AbstractRector (#7653)440d6d7)Removed 💀
rectorphp/rector-symfony 🎵
rectorphp/rector-phpunit 🟢
v2.2.8: Released Rector 2.2.8Compare Source
New Features 🥳
Bugfixes 🐛
Removed 💀
rectorphp/rector-symfony 🎵
rectorphp/rector-phpunit 🟢
rectorphp/rector-downgrade-php ⬇️
v2.2.7: Released Rector 2.2.7Compare Source
New Features 🥳
Bugfixes 🐛
842aa94)rectorphp/rector-symfony 🎵
rectorphp/rector-phpunit 🟢
v2.2.6: Released Rector 2.2.6Compare Source
New Features 🥳
NestedToPipeOperatorRector(#7577)DirnameDirConcatStringToDirectStringPathRector(#7552)RemoveNullArgOnNullDefaultParamRector(#7562)4d78f41)80f7db8)Bugfixes 🐛
08f6dc3)c5d9fdf)cd7eb93)0ca4e91)Removed and Deprecated 💀
rectorphp/rector-symfony 🎵
rectorphp/rector-phpunit 🟢
v2.2.5: Released Rector 2.2.5Compare Source
Rules Registered in sets 🥳
Couple long-existing rules were added to PHP 8.1, code quality and type declaration sets after optional community testing ✔️
If you'll experience any undersired changes, let us know 👍
68bb0cc)38ecb98)1ae7187)0e18562)e164069)d229205)Bugfixes 🐛
Removed and deprecated 💀
rectorphp/rector-phpunit 🟢
v2.2.4: Released Rector 2.2.4Compare Source
New Features 🥳
Bugfixes 🐛
AddParamStringTypeFromSprintfUseRector(#7479)BracketsAwareUnionTypeNode(#7462)VariableConstFetchToClassConstFetchRectoras may cause side effect (#7464)BinaryOpStandaloneAssignsToDirectRector(#7469)Removed and deprecated 💀
strict-typesrules as risky and not practical (#7523)rectorphp/rector-phpunit
v2.2.3: Released Rector 2.2.3Compare Source
New Features 🥳
VariableConstFetchToClassConstFetchRector(#7457)BinaryOpStandaloneAssignsToDirectRector(#7466)AddParamStringTypeFromSprintfUseRector(#7477)Bugfixes 🐛
Removed 💀
3ff3caa)v2.2.2: Released Rector 2.2.2Compare Source
This release contains important fix for Rector custom rules running on PHPUnit 12.2+ ✔️
PHPUnit started to preload it's own
php-parserversion, that conflicts with Rector's one. Now we preload our side first again. Your tests shall run 👍 If not: let us know in: #9416New Features 🥳
AddParamArrayDocblockBasedOnArrayMapRector(#7435)ShellExecFunctionCallOverBackticksRector(#7445)Bugfixes 🐛
v2.2.1: Released Rector 2.2.1Compare Source
Bugfixes 🐛
v2.2.0: Released Rector 2.2Compare Source
This release includes dozens of fixes, new PHP and Type Declaration rules, many Symfony Console rules improvements...
...and one brand new set: type coverage docblocks 🎉 🎉 🎉
Read the gist on our blog - Rector 2.2: New rules for Array Docblocks
New Features and Improvements 🚀
New rules for Type Coverage Docblocks:
RemoveUnusedVariableUseRector(#7430)RepeatedOrEqualToInArrayRector(#7400)NullToStrictIntPregSlitFuncCallLimitArgRector(#7240)KnownMagicClassMethodTypeRector(#7419)AddParamFromDimFetchKeyUseRector(#7424)CallUserFuncArrayToVariadicRector(#7428)Bugfixes 🐛
FunctionLikeToFirstClassCallableRector(#7265), Thanks @calebdw!EnumCaseToPascalCaseRectorskips existing pascal case (#7264), Thanks @calebdw!Removed 💀
Rector Symfony 🎵
Configuration
📅 Schedule: Branch creation - "before 8am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.