chore(deps): update dependency rector/rector to ^0.19.0 #6
No reviewers
Labels
No labels
bug
dependencies
docker
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
php
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jorijn/bitcoin-dca!6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "renovate/rector-rector-0.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
^0.15.24→^0.19.0Release Notes
rectorphp/rector (rector/rector)
v0.19.8: Released Rector 0.19.8Compare Source
New Features 🥳
Bugfixes 🐛
v0.19.7: Released Rector 0.19.7Compare Source
Bugfixes 🐛
02a088c)v0.19.6: Released Rector 0.19.6Compare Source
New Features and Changes 🥳
Bugfixes 🐛
Removed 💀
v0.19.5: Released Rector 0.19.5Compare Source
New Features 🎉
v0.19.4: Released Rector 0.19.4Compare Source
Bugfixes 🐛
v0.19.3: Released Rector 0.19.3Compare Source
New Features ahd Changes 🥳
Bugfixes 🐛
Removed 💀
v0.19.2: Released Rector 0.19.2Compare Source
New features and Changes 🎉
Bugfixes 🐛
Removed 💀
v0.19.1Compare Source
v0.19.0: Released Rector 0.19.0Compare Source
In this release we merged 2 directories into
/srcto speed up class loading and make work with code easier. This leads to BC change in namespace for your custom rules:That's it!
New Features 🥳
ReturnTypeFromStrictScalarReturnExprRector(#5364), Thanks @RobertMe!Bugfixes 🐛
__invoke()method on AddVoidReturnTypeWhereNoReturnRector (#5376)ReturnTypeFromStrictBoolReturnExprRectorsupport for if/else returns (#5384)Removed 💀
a326b85)v0.18.13: Released Rector 0.18.13Compare Source
New Features 🥳
Bugfixes 🐛
$thisin RenameForeachValueVariableToMatchExprVariableRector (#5360), Thanks @sreichel!v0.18.12: Released Rector 0.18.12Compare Source
New Features 🥳
Bugfixes 🐛
v0.18.11: Released Rector 0.18.11Compare Source
Bugfixes 🐛
Removed 💀
v0.18.10: Released Rector 0.18.10Compare Source
Bugfixes 🐛
v0.18.9: Released Rector 0.18.9Compare Source
New Features 🥳
Bugfixes 🐛
v0.18.8: Released Rector 0.18.8Compare Source
Bugfixes 🐛
v0.18.7: Released Rector 0.18.7Compare Source
New Features 🥳
Bugfixes 🐛
@readonlyphpdoc (#5233), Thanks @staabm!ArraySpreadInsteadOfArrayMergeRectorfromLevelSetList::UP_TO_PHP_74(#5228), Thanks @staabm!v0.18.6: Released Rector 0.18.6Compare Source
New Features and Changes 🥳
Bugfixes 🐛
__construct()in BoolReturnTypeFromStrictScalarReturnsRector (#5133), Thanks @staabm!v0.18.5: Released Rector 0.18.5Compare Source
New Features and Improvements 🥳
51ed7b6)Bugfixes 🐛
Removed and Deprecated 💀
v0.18.4: Released Rector 0.18.4Compare Source
New Features and Improvements 🥳
Bugfixes 🐛
Removed and Deprecated 💀
v0.18.3: Released Rector 0.18.3Compare Source
New Features and Changes 🥳
Bugfixes 🐛
Removed 💀
v0.18.2: Released Rector 0.18.2Compare Source
New Features and Changes 🥳
Bugfixes 🐛
v0.18.1: Released Rector 0.18.1Compare Source
This release is accompanied by 2 posts that explains behind the scenes context:
New Features and Changes 🥳
Bugfixes 🐛
get_headers$associative with bool (#4850), Thanks @mvhirsch!Removed 💀
FileProcessorInterface(#4835)SwapFuncCallArgumentsRectoras keeps swaping to infinity, use custom rule instead (#4874)v0.18.0: Released Rector 0.18.0 with Laravel container ⚡️Compare Source
New Features and Changes 🥳
$rectorConfig->import('src/*');with mask?addParameter()(#4801)FileProcessorInterface(#4808)Bugfixes 🐛
v0.17.13: Released Rector 0.17.13Compare Source
New Features and Changes 🥳
Removed 💀
Bugfixes 🐛
v0.17.12Compare Source
v0.17.11: Released Rector 0.17.11Compare Source
New Features and Improvements 🥳
Bugfixes 🐛
Removed 💀
Since Rector 0.15 we declare type stricness and avoid docblock changes, as unreliable and could lead to incorrect assumptions: getrector.com/blog/new-in-rector-015-complete-safe-and-known-type-declarations
Few rules work with unreliable docblocks, and were removed. Instead handle cases yourself with PHPStan help 👍
v0.17.10: Released Rector 0.17.10Compare Source
New Features 🥳
Bugfixes 🐛
v0.17.9: Released Rector 0.17.9Compare Source
Bugfixes 🐛
059d483v0.17.8: Released Rector 0.17.8Compare Source
New Features 🥳
Bugfixes 🐛
Removed 💀
v0.17.7: Released Rector 0.17.7Compare Source
New Features 🥳
Bugfixes 🐛
Removed 💀
v0.17.6: Released Rector 0.17.6Compare Source
In this release, we narrowed rules from PHPUit and Doctrine to their specific version category. We've detected few outdated and never used rules and cleaned them up to make Rector smaller and easier to use 👍
Be use to always use
*SetListconstants over specific rules to use the latest version:New Features 🥳
Bugfixes 🐛
Removed 💀
v0.17.5: Released Rector 0.17.5Compare Source
Removed 💀
Bugfixes 🐛
is_*calls (#4486), Thanks @staabm!v0.17.4: Released Rector 0.17.4Compare Source
Bugfixes 🐛
Removed 💀
v0.17.3: Released Rector 0.17.3Compare Source
In this release we continue preparing for Rector 1.0 release #7854
This includes removing last parent node connections, to lower node tree memory consumption 🥳️🥳️🥳️
New Features 🥳
Bugfixes 🐛
Removed 💀
v0.17.2: Released Rector 0.17.2Compare Source
In this release we continue preparing for Rector 1.0 release #7854
This includes:
New Features 🥳
AddSensitiveParameterAttributeRectorrule (#4342), Thanks @peterfox!Bugfixes 🐛
FunctionLikecontract instead of union of function-like concrete implementations (#4241), Thanks @Wirone!Removed 💀
removeNode()method from AbstractRector (#4225)v0.17.1: Released Rector 0.17.1Compare Source
In this release we continue preparing for Rector 1.0 release #7854
This includes:
removeNode()method withreturn NodeTraverser::REMOVE_NODEdirect constant to make changes happen directly in the Rector ruleNew Features 🥳
Changes
Bugfixes 🐛
Removed 💀
v0.17.0: Released Rector 0.17Compare Source
Preparing for Rector 1.0
In this release, we focus on architecture improvements before reaching Rector 1.0. We want to lower the memory usage and make Rector run faster.
This include removing next/previous nodes - this will most likely not affect you, as Rector rules were upgraded, but if you do you use them, switch to
StmtsAwareInterfaceinsteadWe follow PHPStan 1.6 move from April 2022, where you can learn more: https://phpstan.org/blog/preprocessing-ast-for-custom-rules
To see how to refactor to
StmtsAwareInterface, check these PRs:Add/remove nodes directly 👍
The next improvement focuses on explicit node adding/removal. Thanks to
StmtsAwareInterfacewe can add nodes directly. This makes Rectorrefactor()method contain all the code you need.New Features 🥳
IfIssetToCoalescingRector(#3878)RemoveFinalFromEntityRector(#3727), Thanks @alexndlm!SwapMethodCallArgumentsRector(#3726), Thanks @gaydamakha!CleanupUnneededNullsafeOperatorRector(#3767)ReturnNeverTypeRectorwork with type declaration, add it to PHP 8.1 set (#3852)BoolReturnTypeFromStrictScalarReturnsRector(#3898)Bugfixes 🐛
IssetOnPropertyObjectToPropertyExistsRector(#3876)Removed rules 💀
We've also remove bunch of rules, that were added in early days of Rector for demo purposes. They were not used as of any set for non-reliable cases. PHPStan and coding standards replace some of those.
v0.16.0: Released Rector 0.16.0Compare Source
New Features 🥳
Bugfixes 🐛
Performance Improvements 🚀
--no-diffsis given (#3710), Thanks @staabm!931e6e2)v0.15.25Compare Source
Configuration
📅 Schedule: Branch creation - "after 3am every weekday,every weekend" in timezone Europe/Amsterdam, 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 has been generated by Renovate Bot.
⚠️ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below:
File name: composer.lock
73ad7f209305305accbaView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.