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 Jan 6, 2025

Bumps rector/rector from 1.2.10 to 2.0.6.

Release notes

Sourced from rector/rector's releases.

Released: Rector 2.0.6

New Features 🥳

  • [dx] Add --only-suffix to filter files by suffixes (#6647)
  • [DeadCode] Add ReplaceBlockToItsStmtsRector (#6641)
  • [DeadCode] Add RemoveUselessAssignFromPropertyPromotionRector (#6643)
  • Add readonly by default on new promoted property (#6650)
  • Use autowired method if exists in adding new dependency (#6652)

Bugfixes 🐛

  • [CodeQuality] Handle crash inside block statement with unreachable statement on OptionalParametersAfterRequiredRector (#6640)
  • [DX] Use Param->isPromoted() over param->flags !== 0 check on promotion property check (#6646)
  • [Php80] Keep numeric string, string "true", "false" as is on StringAnnotationToAttributeMapper (#6610)
  • [PHPStan ^2.1.1] Handle next unreachable statement via UnreachableStatementNode->getNextUnreachableStatements() (#6642)

Removed 💀

  • [Parser] Remove SmartPhpParserFactory and SmartPhpParser (#6651)

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)

... (truncated)

Commits
  • fa0cb00 Rector 2.0.6
  • dd9ef30 Updated Rector to commit 532b39dd167d28aa21dac38751f9b9bcd34373b7
  • 45b8ec2 Updated Rector to commit fe99f211133b43850881ce0a7522c6242892b6b1
  • 4405ec5 Updated Rector to commit 8bc80b4641429cfcea9a413ff9eb1bd9afaae9ee
  • 40b5c47 Updated Rector to commit 2e82ab4969246050e9fe47df0cf549cc96fdbfd5
  • fcafd42 Updated Rector to commit 92b4999c34e9fad614aedb1d98d05829dfbdaa2b
  • e20eea9 Updated Rector to commit 1d078fa4a5e62eee5ff5ef441a212e01c2550a16
  • ea61794 Updated Rector to commit 7fc9494a41eefd94af850b47d8af78f322a7884c
  • d7d4304 Updated Rector to commit 7ad142473531a56d8eb6d9d7571f0d77b0661fbf
  • 934bc26 Updated Rector to commit 8ed98c17688300b3aa85d978fefc24c88a51f1f3
  • 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.6.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](rectorphp/rector@1.2.10...2.0.6)

---
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 Jan 6, 2025
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jan 6, 2025

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 20, 2025

Superseded by #214.

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

0 participants