Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docs for PSR-12 coding style guide #205

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open

Conversation

bennothommo
Copy link
Member

```

##### - We disallow using a `use` case for a class that exists in the same namespace as the current class
Copy link
Member

Choose a reason for hiding this comment

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

Do we want to rule either way here? I can see an argument for allowing it (so that it's easier to refactor / relocate classes) as well as the argument for disallowing it (technically it's unnecessary).

Copy link
Member Author

Choose a reason for hiding this comment

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

Subjective, but I like to have as few use cases as possible. On the other hand, have all the classes defined as use cases at the top does give a sort of "index" as to what classes are being used in the file. So, I dunno, maybe all @wintercms/maintainers can chime in :P

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants