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

chore(deps-dev): Bump rector/rector from 1.2.10 to 2.0.3 in /vendor-bin/rector #2118

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps rector/rector from 1.2.10 to 2.0.3.

Release notes

Sourced from rector/rector's releases.

Released Rector 2.0

Rector 2.0 is here 🥳

The main purpose of this release is performance improvements, thanks to modern dependencies:

  • php-parser 4.x to 5.0
  • PHPStan 1.x to 2.0
  • and min PHP version 7.2 to 7.4 because of dependencies above

But we've few pretty cool features like composer-based sets and --only option as well. See release notes bellow.

For custom rules writers, see upgrading guide. The rest of upgrade is straighforward 🎉

To celebrate the upgrade, we're also modernized our logo! 🤩


New Features and Improvements 🎉

  • Add "--only" option to process only a single rule (#6441), Thanks @​cweiske!
  • [DX] Add version-based set loading based on installed package version (#6428)
  • [dx] enable polyfills by default when PHP is on, to make config simpler (#6433)
  • [dx] enable all attributes, if none are selected to streamline config (#6451)
  • feat: add the option to use the annotation value as an argument to the attribute (#6468), Thanks @​carlos-granados!
  • feat: add Behat annotations to attributes set (#6510), Thanks @​carlos-granados!

Deprecated and Removed 💀

  • [deprecation] Deprecate AbstractScopeAwareRector in favor of single AbstractRector (#6425)
  • [deprecation] Deprecate MixedTypeRector, to avoid mixed type filled blindly, use type declaration set instead (#6434)
  • [docs] getRuleDefinition() no longer required for custom rules (#6440)
  • [deprecation] Remove deprecated PublicConstantVisibilityRector, cleanup deprecated SetListInterface (#6424)
  • [deprecated] Remove deprecated AbstractTestCase (#6426)

Bugfixes 🐛

  • [Php80] Returns null on no change on ClassPropertyAssignToConstructorPromotionRector (#6418)
  • [attributes] Make sure the target attribute class exists (#6454)
  • [TypeDeclaration] Skip test methods with exception in ReturnNeverTypeRector, [php74] Skip conditinal assign in RestoreDefaultNullToNullableTypePropertyRector as most likely desired to assign or fail (#6430)

... (truncated)

Commits
  • 3f27091 Rector 2.0.3
  • 8f1c866 Rector 2.0.2
  • 5e3504c Rector 2.0.1
  • 5b38230 Updated Rector to commit 5e50b8ad1c5c125178778f230fae5ee25eda3896
  • 785165b Updated Rector to commit cdfe824fb114c0ee2fabbbc2e78ebd3babc9a3a7
  • 1212291 Rector 2.0.0
  • 50f50de Updated Rector to commit 8d2388b38eecaa94558fe9ac35924c0059024732
  • 3ce90db Updated Rector to commit 184ce766abb6bdca8d590c757479a67a915251f8
  • 6e4ecfe Updated Rector to commit 0bfd08d038d2932ff6efb6a210a8985ac6364afa
  • c578222 Updated Rector to commit 184eb2ed84405c011740792f1fee4e914e11b445
  • 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.3.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](rectorphp/rector@1.2.10...2.0.3)

---
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 requested a review from nickvergessen as a code owner December 14, 2024 02:07
@dependabot dependabot bot added 3. to review dependencies Pull requests that update a dependency file labels Dec 14, 2024
@nickvergessen nickvergessen merged commit b609257 into master Dec 16, 2024
46 checks passed
@nickvergessen nickvergessen deleted the dependabot/composer/vendor-bin/rector/rector/rector-2.0.3 branch December 16, 2024 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant