Skip to content

Add option to exclude getters/setters from PublicMethodsBeforeNonPublicMethods and StaticMethodsBeforeInstanceMethods rule #790

@peter-thomas-mgd

Description

@peter-thomas-mgd

Our coding conventions group getters and setters before all other public or private methods, including constructors. It would be nice to have an option in the PublicMethodsBeforeNonPublicMethods and StaticMethodsBeforeInstanceMethods rules to exclude getters and setters. Without this option we need to disable both of these rules, which misses other public, private and static method ordering issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No 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