Skip to content
This repository was archived by the owner on Nov 21, 2019. It is now read-only.

Conversation

@thewilkybarkid
Copy link
Contributor

Also opened slevomat/coding-standard#491 to apply the same to the Trait suffix.

@thewilkybarkid thewilkybarkid added the feature New feature or request label Sep 24, 2018
@thewilkybarkid thewilkybarkid added this to the 0.2.0 milestone Sep 24, 2018
@thewilkybarkid thewilkybarkid changed the title [WIP] Don't allow superfluous prefixes/suffixes Don't allow superfluous prefixes/suffixes Oct 1, 2018
@thewilkybarkid thewilkybarkid requested a review from a team October 1, 2018 09:05
@@ -0,0 +1,18 @@
---DESCRIPTION---
Forbid Interface suffix

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think Interface and Abstract have been in use before and hence are worthy of forbidden. Exception is easy to forbid, but people can just name everything *Problem or *Error so doesn't necessarily have a positive effect.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can add more rules as we need. Naming will always require a human review.

@thewilkybarkid thewilkybarkid merged commit e72a6f3 into libero:master Oct 2, 2018
@thewilkybarkid thewilkybarkid deleted the prefixes-suffixes branch October 2, 2018 09:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants