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): update rector/rector requirement from 1.0.5 to 1.1.1 #32

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 24, 2024

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

Release notes

Sourced from rector/rector's releases.

Released Rector 1.1.1

[Performance] Fix huge performance hit by reverting children class detection (#5995) - fixes rectorphp/rector#8679, rectorphp/rector#8638, rectorphp/rector#8637

New Rules

  • [TypeDeclaration] Add ReturnTypeFromReturnCastRector (#5905)
  • [TypeDeclaration] Add ReturnTypeFromSymfonySerializerRector (#5908)
  • [TypeDeclaration] Add TypedPropertyFromJMSSerializerAttributeTypeRector (#5909)
  • [TypeDeclaration] Add AddTypeFromResourceDocblockRector (#5915)
  • [Php74] Add HebrevcToNl2brHebrevRector (#5977)
  • [Php74] Add RestoreIncludePathToIniRestoreRector (#5973)
  • [Carbon] Init set to migrate DateTime to Carbon (#5868)
  • [Carbon] Add immutable support to other rules (#5896)
  • Convert DateTimeImmutable to CarbonImmutable (#5895)
  • Convert time() to Carbon::now()->timestamp (#5901), Thanks @​kylekatarnls!

New Features and DX improvements 🥳

  • Add code quality levels (#5910), Thanks @​carlos-granados!
  • [DX] Introduce set providers, to enable package + version based set registration (#5976)
  • [DX] Report rules that registered in withSkip() but never registered in withRules() (#5919)
  • [Set] Add new rector-preset set to have opiniated rector rules that can be enabled in rector-src and its extension (#5924)
  • [DeadCode] Add RemoveUnusedPublicMethodParameterRector (#5925)
  • [TypeDeclaration] Handle double declare(strict_types=1) addition on DeclareStrictTypesRector + IncreaseDeclareStrictTypesRector (#5928)
  • [CodingStyle][Php80] Add join func call support on ConsistentImplodeRector (#5958)
  • [CodeQuality] Add support for (), {}, [], <> delimiter on RegexPatternDetector (#5957)
  • [TypeDeclaration] Add Static Call support on AddMethodCallBasedStrictParamTypeRector (#5960)
  • [Config] Add withPhpPolyfill() method to load php polyfill set on RectorConfigBuilder (#5983)
  • [DX] Add ->withPhpXSets() for PHP 7.4 and lower, improve ->withPreparedSets() (#5984)
  • [config] Disable parallel on --debug (#5904)
  • [Php80] Skip mixed doc with description and valid doc on MixedTypeRector (#5906)
  • [DX] Add withPhpPolyfills() method to add polyfill rules (#5981) rectorphp/rector-src#5983
  • [DX] Ommit static functions/closure from coding-style, as often ignored and depends on personal preference (#5916)
  • [DX] Ommit post-inc to pre-inc rule from coding-style as too opinionated (#5917)
  • [DX] Remove UseIncrementAssignRector from coding-style set, as often ignored (#5920)

Bugfixes 🐛

  • [AutoImport] No need RenamedClassesDataCollector usage on UsesClassNameImportSkipVoter (#5921)
  • [Php81] Skip private method from instantiated class on FirstClassCallableRector (#5929)
  • [NodeTypeCorrector] Directly use StringType on Intersection of strings on AccessoryNonEmptyStringTypeCorrector (#5933)
  • [CodeQuality] Allow check in current Class_ with multiple props on CompleteDynamicPropertiesRector (#5938)
  • [Naming] Handle rename property with only comment, without @​var doc on RenamePropertyToMatchTypeRector (#5945)
  • Remove the renaming of apache_request_headers (#5943), Thanks @​rhuijts!

... (truncated)

Commits
  • c930cdb Rector 1.1.1
  • d6dc063 Updated Rector to commit 2e36fffb357edc40a64d69266e8747fcf9fdd679
  • d5a6bce Updated Rector to commit 07dc58043d4a4634e6376094af98a3233719a2da
  • 1951a60 Updated Rector to commit 6b11f63e63fc75ea80a4ee609f3e175863305b6f
  • a75c607 Updated Rector to commit cecb60da20dfbe57e70ac43d606eba711aed4e8c
  • f4b3213 Updated Rector to commit 891bfdaf9ea8d10341fe4a3c63c25aa8245de79b
  • 9257029 Updated Rector to commit 8a7cd36365b2f05683f072309cd2484978d9e5b2
  • 856c640 Updated Rector to commit 2dda748541be13dac8ef328011bc50233f2030bc
  • 9d08250 Updated Rector to commit f366a7e66228f35dc877e816b553c4f38332f801
  • 14cd108 Updated Rector to commit f366a7e66228f35dc877e816b553c4f38332f801
  • 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 will merge this PR once CI passes on it, as requested by @datamweb.


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@1.0.5...1.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependa bot dependabot label Jun 24, 2024
@dependabot dependabot bot requested a review from datamweb June 24, 2024 11:26
Copy link

coderabbitai bot commented Jun 24, 2024

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Owner

@datamweb datamweb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot merge

Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 24, 2024

One of your CI runs failed on this pull request, so Dependabot won't merge it.

Dependabot will still automatically merge this pull request if you amend it and your tests pass.

Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 2, 2024

A newer version of rector/rector exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

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

Successfully merging this pull request may close these issues.

1 participant