Skip to content

Conversation

@ziegenberg
Copy link
Contributor

This applies the rule AddVoidReturnTypeWhereNoReturnRector. For Details see:
https://github.com/rectorphp/rector/blob/main/docs/rector_rules_overview.md#addvoidreturntypewherenoreturnrector

…eturn

This applies the rule AddVoidReturnTypeWhereNoReturnRector. For
Details see:
https://github.com/rectorphp/rector/blob/main/docs/rector_rules_overview.md#addvoidreturntypewherenoreturnrector

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
@ziegenberg ziegenberg force-pushed the add-type-coverage-level-13 branch from 1751503 to e83c4a5 Compare June 20, 2024 23:11
@ziegenberg ziegenberg requested a review from oliverklee June 20, 2024 23:12
Copy link
Collaborator

@JakeQZ JakeQZ left a comment

Choose a reason for hiding this comment

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

Should the Rector config file be updated - specifically to uncomment AddVoidReturnTypeWhereNoReturnRector::class?

@ziegenberg
Copy link
Contributor Author

Should the Rector config file be updated - specifically to uncomment AddVoidReturnTypeWhereNoReturnRector::class?

IMHO, this can be done at a later stage. First, I'm doing all the CLEANUP and, later, the TASK of configuring the rector. Also, @oliverklee surely wants to have TASK and CLEANUP in different PRs.

After this type series, we can set the following config:

    ->withSets(
        [
            SetList::TYPE_DECLARATION,
        ]
    )

@oliverklee oliverklee merged commit c69b1f8 into MyIntervals:main Jun 21, 2024
@ziegenberg ziegenberg deleted the add-type-coverage-level-13 branch June 21, 2024 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants