coding-standard icon indicating copy to clipboard operation
coding-standard copied to clipboard

Treat classes/enums, interfaces and traits differently

Open oojacoboo opened this issue 3 years ago • 0 comments

Interfaces can be extremely simple, classes not so much and traits differ. The need to adhere to the same code styles for each of these, while uniform, isn't always ideal. For instance, an interface could be very compressed, whereas a class desiring more line spacing between members. Traits would likely follow class styles, but I see no reason to not offer the flexibility.

oojacoboo avatar Apr 06 '22 00:04 oojacoboo