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 31, 2024

Bumps rector/rector from 1.2.10 to 2.0.5.

Release notes

Sourced from rector/rector's releases.

Released: Rector 2.0.5

This release support PHP-Parser 5.4.0 and PHPStan 2.1.0

Feature

  • Bump to PHP-Parser ^5.4.0 with use patches fix-patch-php-parser-54 patches (#6637)
  • Bump to PHPStan ^2.1.0 (#6639)
  • [DeadCode] Allow remove useless @ var on typed class constant as well on RemoveUselessVarTagRector (#6633)

Removed 💀

  • Remove unused AssignVariableNameResolverInterface instances (#6631)

Bugfixes 🐛

  • [DX] Warn about ->withPhpSets() called multiple times, to avoid invalid set mix (#6632)
  • [CodeQuality] Skip fopen() or die() on LogicalToBooleanRector on assign (#6635)
  • use vendor-patches main branch that already include php-parser 5.4.0 patch (#6638)

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!

... (truncated)

Commits
  • f3354fb Rector 2.0.5
  • 2c903ab Updated Rector to commit c20860d38fabc003dff096168bbfd99479e9242a
  • 84e1eb5 Updated Rector to commit 97347fbed99e372bc2a6bd46c30f615c0be12d5f
  • f99d6f3 Updated Rector to commit 8834b334b5468636f08ed4c54994eff839a2fb81
  • baa2bd4 Updated Rector to commit 17d266fecf2392bd90b929948758c31898e959e2
  • 376ef50 Updated Rector to commit eb272ee7ab00184569bd327819d69a305e19fdcb
  • 8bafaa0 Updated Rector to commit dfe6f2d43c20b7883ad5354d59c859f3ad85cae4
  • 24e1aac Updated Rector to commit 7bbe9ba2af41fbb64a2817cd44d19665aa79f186
  • 59d44f7 Updated Rector to commit 5f21af7a492f8be43972c1d89fa150ae9e37475c
  • df5de7b Rector 2.0.4
  • 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.5.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](rectorphp/rector@1.2.10...2.0.5)

---
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 31, 2024
@sonarqubecloud
Copy link

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 6, 2025

Superseded by #213.

@dependabot dependabot bot closed this Jan 6, 2025
@dependabot dependabot bot deleted the dependabot/composer/rector/rector-2.0.5 branch January 6, 2025 14:14
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