Skip to content

Traits and interfaces file name standard #1859

@felipeelia

Description

@felipeelia

Is your feature request related to a problem?

Although we have a standard for class file names, we don't have one for traits or interfaces.

Describe the solution you'd like

For consistency with what we currently require for classes, a trait file name should be prefixed with trait- and an interface file name should be prefixed with interface-.

I'm not a big fan of these prefixes but as we enforce them to classes, it seems to make sense have them for traits and interfaces too.


Issue #1327 mentions the problem but it's almost 2 years old now. As these elements can already be used in core, it would be awesome if these standards are defined before it happens :)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions