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

build(deps-dev): update rector/rector requirement from ^0.19 to ^1.0 #890

Merged
merged 1 commit into from
Feb 14, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 13, 2024

Updates the requirements on rector/rector to permit the latest version.

Release notes

Sourced from rector/rector's releases.

Released Rector 1.0.0 🎉🎉🎉

The stable Rector version is here. It was about time and we've done all planned changes by the end of 2023.

What could be better time and place to release a stable Rector than live on stage during talk 🎉

While this release brings stable API, it will be easier to stay up to date as well. The 1.x versioning behaves as expected with composer update (compared to special 0.x).

Our main focus is on improving developers experience. This release brings new features that help with custom rules writing, adding Rector to CI and adding Rector to any legacy project in general.

Some features are partially available in previous version, but we'd like to highligh them because since 1.0 you can use them all together.

Zen Config with Autocomplete

If you run Rector for the first time, it will create a rector.php config with your project paths for you. In past we used various class constants references to add commonly used rule sets. This required knowledge about these classes and was often missed.

We've changed this to work with single configuration class. It provides autocomplete for available sets, including attributes:

use Rector\Config\RectorConfig;
return RectorConfig::configure()
->withPreparedSets(codeQuality: true, codingStyle: true)
->withAttributesSets(symfony: true, doctrine: true)
->withPaths([
DIR . '/src',
DIR . '/tests',
])
->withRootFiles();

PHP Sets Automated

To keep up to date with you PHP, now you can use single method:

use Rector\Config\RectorConfig;
return RectorConfig::configure()
->withPhpSets();
</tr></table>

... (truncated)

Commits
  • 362258a Rector 1.0.0
  • 64d401b Updated Rector to commit 9a44c19598a21aff4b6b38f9a0db3b5ca30337c6
  • 428336c Updated Rector to commit 09398c3d4f07bb6ad664a55b87cab955278a467e
  • d00ebb8 Updated Rector to commit 56c250771518c2aa2e17bc64c9986c2dbe9b6fd8
  • de3b3bb Rector 0.19.8
  • a529437 Updated Rector to commit c44e1e57dece206f94cd5896000750172ead0272
  • 8be4b97 Updated Rector to commit c0079e3824d81ca2bd1a4b430c06acec4a5ef731
  • 7810dc2 Updated Rector to commit 487f162d53fe42f6d76557ca6cd49d93ceb911e8
  • ad50de3 Updated Rector to commit 70f10cb70dddf660c3b26f0e93e83248e0a07adb
  • 53f16f4 Rector 0.19.7
  • Additional commits viewable in compare view

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)

Updates the requirements on [rector/rector](https://github.com/rectorphp/rector) to permit the latest version.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](rectorphp/rector@0.19.0...1.0.0)

---
updated-dependencies:
- dependency-name: rector/rector
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Feb 13, 2024
Copy link

cloudflare-pages bot commented Feb 13, 2024

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3255ae9
Status: ✅  Deploy successful!
Preview URL: https://68968169.laravel-wallet.pages.dev
Branch Preview URL: https://dependabot-composer-rector-r-ldch.laravel-wallet.pages.dev

View logs

Copy link

Qodana for PHP

It seems all right 👌

No new problems were found according to the checks applied

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at qodana-support@jetbrains.com

Copy link

codecov bot commented Feb 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (44ad253) 100.00% compared to head (3255ae9) 100.00%.

Additional details and impacted files
@@             Coverage Diff             @@
##              master      #890   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
  Complexity       585       585           
===========================================
  Files             88        88           
  Lines           2030      2030           
===========================================
  Hits            2030      2030           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rez1dent3 rez1dent3 merged commit 16da9c8 into master Feb 14, 2024
76 checks passed
@dependabot dependabot bot deleted the dependabot/composer/rector/rector-tw-1.0 branch February 14, 2024 05:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file php Pull requests that update Php code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant