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.17.0 to ^1.0.0 #254

Merged
merged 1 commit into from
Feb 12, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 12, 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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 12, 2024

The following labels could not be found: php.

@qdequippe
Copy link
Owner

@dependabot rebase

@qdequippe qdequippe enabled auto-merge (squash) February 12, 2024 07:24
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.17.0...1.0.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/composer/rector/rector-tw-1.0.0 branch from 14a0fc7 to 118ed48 Compare February 12, 2024 07:25
@qdequippe qdequippe merged commit 8980a6e into main Feb 12, 2024
5 of 6 checks passed
@qdequippe qdequippe deleted the dependabot/composer/rector/rector-tw-1.0.0 branch February 12, 2024 07:25
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