Skip to content
This repository was archived by the owner on Sep 21, 2025. It is now read-only.

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 27, 2024

Bumps rector/rector from 1.2.10 to 2.0.4.

Release notes

Sourced from rector/rector's releases.

Released Rector 2.0.4

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!

Bugfixes 🐛

  • [dx] polyfill sets is running out of the box in php sets (#6591)
  • [phpstan] Fix var assumed ignored errors (#6571)
  • [phpstan] fix next ingored errors (#6572)
  • [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)
  • 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)
  • Move FunctionLike reindex under StmtsAwareInterface on NodeAttributeReIndexer (#6605)
  • [DeadCode] Skip value variable used in throw stmts in catch on UnusedForeachValueToArrayKeysRector (#6607)
  • Revert "[Php80] Keep numeric string as is on StringAnnotationToAttributeMappe…" (#6609)
  • [Php54] Use token base replace on LongArrayToShortArrayRector (#6616)
  • [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)
  • [DeadCode] Skip @​return positive-int|0 on RemoveUselessReturnTagRector (#6576)
  • [DeadCode] Skip key variable used in throw stmts in catch on RemoveUnusedForeachKeyRector (#6606)

Removed 💀

... (truncated)

Commits
  • df5de7b Rector 2.0.4
  • 37163bd Updated Rector to commit c3989ab162c9c99d06edde3ddb7337212febc5d3
  • 1a2bd6c Updated Rector to commit ed433a87a3e746547b2a22ece373a4bbebf5823d
  • b8e60e2 Updated Rector to commit ed433a87a3e746547b2a22ece373a4bbebf5823d
  • af97af9 Updated Rector to commit ed433a87a3e746547b2a22ece373a4bbebf5823d
  • 84d2a96 Updated Rector to commit ed433a87a3e746547b2a22ece373a4bbebf5823d
  • 8d42280 Updated Rector to commit ed433a87a3e746547b2a22ece373a4bbebf5823d
  • b24cfd9 Updated Rector to commit ed433a87a3e746547b2a22ece373a4bbebf5823d
  • 0c1978c Updated Rector to commit ed433a87a3e746547b2a22ece373a4bbebf5823d
  • 573de34 Updated Rector to commit 048b893960e3c4c8f31e907ec3af550726b52c11
  • Additional commits viewable in compare view

Dependabot compatibility score

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [rector/rector](https://github.com/rectorphp/rector) from 1.2.10 to 2.0.4.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](rectorphp/rector@1.2.10...2.0.4)

---
updated-dependencies:
- dependency-name: rector/rector
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 27, 2024
@sonarqubecloud
Copy link

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 31, 2024

Superseded by #211.

@dependabot dependabot bot closed this Dec 31, 2024
@dependabot dependabot bot deleted the dependabot/composer/rector/rector-2.0.4 branch December 31, 2024 14:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant