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): update dependency rector/rector to v1.2.0 - autoclosed #211

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 22, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
rector/rector (source) 1.1.0 -> 1.2.0 age adoption passing confidence

Release Notes

rectorphp/rector (rector/rector)

v1.2.0

Compare Source

v1.1.1: Released Rector 1.1.1

Compare Source

[Performance] Fix huge performance hit by reverting children class detection (#​5995) - fixes https://github.com/rectorphp/rector/issues/8679, https://github.com/rectorphp/rector/issues/8638, https://github.com/rectorphp/rector/issues/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) https://github.com/rectorphp/rector-src/pull/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!
  • [Naming] Handle nullable object @​var docblock on RenamePropertyToMatchTypeRector (#​5946)
  • [Php81] Skip param variable used in next stmt after coalesce on NewInInitializerRector (#​5971)
  • [Php71] Skip call abstract method on RemoveExtraParametersRector (#​5930)
  • [TypeDeclaration] Do not remove docblock with description on MergeDateTimePropertyTypeDeclarationRector (#​5931)
  • [DeadCode] Remove param docblock on RemoveUnusedPromotedPropertyRector when exists (#​5936)
  • [Cleanup] Remove deprecated AttributeKey::PARENT_NODE, remove deprecated NodeNameResolver::isCaseSensitiveName() (#​5939)
  • [NodeTypeResolver] Remove Property->type instanceof Node check on NodeTypeResolver->getType() (#​5947)
  • [BetterPhpDocParser] Remove unnecessary PrivatesAccessor usage on BetterTokenIterator and TokenIteratorFactory (#​5950)
  • [DeadCode] Skip dynamic variable on RemoveUnusedVariableAssignRector (#​5964)
  • [DeadCode] Reduce loop for used in next stmt on RemoveUnusedVariableAssignRector (#​5969)

Removed and Deprecated 💀

  • Remove deprecated and empty FinalizeClassesWithoutChildrenRector + FinalizePublicClassConstantRector (#​5980)
  • [DX] Soft-deprecate CallableThisArrayToAnonymousFunctionRector, as FirstClassCallableRector handles the same case better (#​5918)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested a review from lotyp as a code owner June 22, 2024 05:54
@renovate renovate bot enabled auto-merge (rebase) June 22, 2024 05:54
Copy link

coderabbitai bot commented Jun 22, 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.


Tip

Early access features: enabled

We are currently testing the following features in early access:

  • OpenAI gpt-4o model for code reviews and chat: OpenAI claims that this model is better at understanding and generating code than the previous models. We seek your feedback over the next few weeks before making it generally available.

Note:

  • You can enable or disable early access features from the CodeRabbit UI or by updating the CodeRabbit configuration file.
  • Please join our Discord Community to provide feedback and report issues.
  • OSS projects are currently opted into early access features by default.

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

codecov bot commented Jun 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.43%. Comparing base (1f19892) to head (0ccf71d).

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #211   +/-   ##
=========================================
  Coverage     98.43%   98.43%           
  Complexity       74       74           
=========================================
  Files            15       15           
  Lines           255      255           
=========================================
  Hits            251      251           
  Misses            4        4           

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

@renovate renovate bot force-pushed the renovate/rector-rector-1.x-lockfile branch from 49845cf to 0ccf71d Compare July 1, 2024 15:46
@renovate renovate bot changed the title chore(deps): update dependency rector/rector to v1.1.1 chore(deps): update dependency rector/rector to v1.2.0 Jul 1, 2024
@renovate renovate bot changed the title chore(deps): update dependency rector/rector to v1.2.0 chore(deps): update dependency rector/rector to v1.2.0 - autoclosed Jul 1, 2024
@renovate renovate bot closed this Jul 1, 2024
auto-merge was automatically disabled July 1, 2024 15:49

Pull request was closed

@renovate renovate bot deleted the renovate/rector-rector-1.x-lockfile branch July 1, 2024 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants