Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency rector/rector to v2.0.4 #197

Merged
merged 1 commit into from
Dec 27, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 27, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
rector/rector (source) 2.0.3 -> 2.0.4 age adoption passing confidence

Release Notes

rectorphp/rector (rector/rector)

v2.0.4: Released Rector 2.0.4

Compare Source

Bugfixes 🐛

  • Bump dev packages (#​6568)
  • Remove fixed phpstan errors (#​6569)
  • [phpstan] Fix var assumed ignored errors (#​6571)
  • [phpstan] fix next ingored errors (#​6572)
  • [phpstan] Fix few static errors (#​6573)
  • [phpstan] Fix few static errors (#​6574)
  • [CodeQuality] Handle crash on property hook on OptionalParametersAfterRequiredRector (#​6575)
  • [PHP 8.0] Make AnnotationToAttributeRector return after 1st newline without slash (#​6578)
  • [Php80] Fix end slash regex on AttributeValueResolver (#​6579)
  • Fix annotation on doctrine one (#​6582)
  • [Comments] Move left over clean empty doc handling to DocBlockUpdater (#​6584)
  • fix: replace getKey method for name property (#​6583), Thanks @​carlosvinicius!
  • fix: replace getKey/getValue methods when enum is a variable (#​6585), Thanks @​carlosvinicius!
  • [Php80] Handle comment multi line on AttributeValueResolver (#​6586)
  • [Php80] Use more proper check for doc comment multi lines on AttributeValueResolver (#​6587)
  • [Php80] Handle value as argument with keep description as comment on AttributeValueResolver (#​6589)
  • [dx] polyfill sets is running out of the box in php sets (#​6591)
  • withRootFiles now apply rector for dotfiles too (#​6592), Thanks @​andrew-demb!
  • 📦 Ignore .phpstorm.meta.php because this is not PHP file (#​6594), Thanks @​andrew-demb!
  • [Php81] Skip reassign on array destruct on ReadOnlyPropertyRector (#​6596)
  • [Php80] Handle crash on multi next stmts on ChangeSwitchToMatchRector (#​6597)
  • [CodingStyle] Handle crash on pass args on CallUserFuncToMethodCallRector (#​6598)
  • [Php81] Skip with next required on NewInInitializerRector (#​6599)
  • [NodeTypeResolver] Re-index node attributes on refresh scope process (#​6601)
  • Fix return $node on ReIndexNodeAttributeVisitor (#​6602)
  • Rollback reindex node attributes before refactor (#​6603)
  • Move FunctionLike reindex under StmtsAwareInterface on NodeAttributeReIndexer (#​6605)
  • [DeadCode] Skip value variable used in throw stmts in catch on UnusedForeachValueToArrayKeysRector (#​6607)
  • [Php80] Keep numeric string as is on StringAnnotationToAttributeMapper (#​6608)
  • Revert "[Php80] Keep numeric string as is on StringAnnotationToAttributeMappe…" (#​6609)
  • [NodeTypeResolver Ensure reindex stmt_key on NodeAttributeReIndexer (#​6611)
  • Ensure reindex in deep stmts before refactor() (#​6614)
  • Revert "Ensure reindex in deep stmts before refactor() (#​6614)" (#​6615)
  • [Php54] Use token base replace on LongArrayToShortArrayRector (#​6616)
  • Reduce double loop to set stmt_key on refresh process (#​6619)
  • [Performance] Only register WrappedNodeRestoringNodeVisitor() when there is found AlwaysRememberedExpr or Match_ node on processNodes() (#​6620)
  • [Fix] Renamed gzwrites (undefined function) to gzwrite (#​6622), Thanks @​Vqcheslav!
  • [FunctionLike] Skip return by ref with switch on SimplifyUselessVariableRector (#​6623)
  • Rollback SimpleCallableNodeTraverser usage on ByRefReturnNodeVisitor (#​6624)
  • [TypeDeclaration] Skip assign on while cond on WhileNullableToInstanceofRector (#​6628)
  • [TypeDeclaration] Skip assign in if condition on BinaryOpNullableToInstanceofRector (#​6629)
  • Clean up ignore phpstan errors (#​6630)
  • Add early return on NodeAttributeReIndexer (#​6604)
  • Add unit test for reindex stmt_key before refactor() called (#​6613)
  • Remove deep reindex on refresh scope node (#​6617)
  • [DeadCode] Skip @​return positive-int|0 on RemoveUselessReturnTagRector (#​6576)
  • [DeadCode] Skip key variable used in throw stmts in catch on RemoveUnusedForeachKeyRector (#​6606)

Removed 💀

  • Remove TypeNormalizer as type comparison is handled well by PHPStan (#​6570)
  • Removed unused method ClassChildAnalyzer-> hasParentClassMethod() (#​6595), Thanks @​staabm!
  • [Experiment] Remove WrappedNodeRestoringNodeVisitor (#​6626)

New Features 🥳

  • [PHP 8.0] Add lcfirst annotation to attribute support (#​6577)
  • Add multiline comment fixture (#​6580)
  • [TypeDeclaration] Add param type to array map closure (#​6377), Thanks @​peterfox!
  • [deprecation] Add message about deprecated MixedTypeRector rule, Remove deprecated SetListInterface as no longer used (#​6590)
  • [Php81][php82] Add AttributeGroupNewLiner to make new line based on token on ReadOnlyPropertyRector and ReadOnlyClassRector (#​6618)
  • [Php84] Add rule for RoundingMode enum (#​6369), Thanks @​jorgsowa!

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

Read more information about the use of Renovate Bot within Laminas.

| datasource | package       | from  | to    |
| ---------- | ------------- | ----- | ----- |
| packagist  | rector/rector | 2.0.3 | 2.0.4 |


Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate bot added the renovate label Dec 27, 2024
@samsonasik samsonasik added this to the 1.82.0 milestone Dec 27, 2024
@samsonasik samsonasik merged commit d72a6cd into 1.82.x Dec 27, 2024
26 checks passed
@samsonasik samsonasik deleted the renovate/all-minor-patch branch December 27, 2024 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant