Skip to content

Allow configuring AbstractClassCanBeInterface to ignore sealed classes #9281

@eygraber

Description

@eygraber

I believe it is technically a performance optimization to use sealed class over sealed interface (IIRC because of virtual dispatch). I vaguely remember seeing guidance that very large projects with heavy sealed hierarchy usage can benefit from using sealed class, so it would be nice if there was a way to opt out of that check from AbstractClassCanBeInterface.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions