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

Update rector/rector requirement from ^0.19 to ^0.19 || ^1.0 #63

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 9, 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] <[email protected]>
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 9, 2024

Looks like rector/rector is up-to-date now, so this is no longer needed.

@Spomky
Copy link
Member

Spomky commented Feb 9, 2024

@dependabot rebase

@dependabot dependabot bot closed this Feb 9, 2024
@dependabot dependabot bot deleted the dependabot/composer/rector/rector-tw-0.19or-tw-1.0 branch February 9, 2024 08:18
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 9, 2024

Looks like this PR is closed. If you re-open it, I'll rebase it, as long as no-one else has edited it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant