Skip to content

Enable all prepared sets with a key :all? #9417

@Tamas-hi

Description

@Tamas-hi

Feature Request

Can you please consider implementing an "all" option to the ->withPreparedSets() method? At the moment, I need to add all prepared set one by one, but I think we should support if someone wants the "enable all" behaviour all time.

Current behaviour:

->withPreparedSets(
        deadCode: true,
        codeQuality: true,
        codingStyle: true,
        typeDeclarations: true,
        typeDeclarationDocblocks: true,
        privatization: true,
        naming: true,
        instanceOf: true,
        earlyReturn: true,
        strictBooleans: true,
        carbon: true,
        rectorPreset: true
....
    )

Expected:

->withPreparedSets(
        all: true
    )

Thanks for considering it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions