Skip to content

Added Exception and tweaked language of Abstract #2033

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

Merged
merged 1 commit into from Dec 18, 2012
Merged

Added Exception and tweaked language of Abstract #2033

merged 1 commit into from Dec 18, 2012

Conversation

ghost
Copy link

@ghost ghost commented Dec 17, 2012

I've added the case for Exception classes which is followed everywhere.

I've suggested some language to explain why some classes do not follow the Abstract prefix, but since it is being adhered to for all new stuff since quite a while now (and followed by many large OSS projects), it's important the language is definitive with an explanation.

Refs #922

@@ -108,12 +108,16 @@ Naming Conventions

* Use namespaces for all classes;

* Abstract classes are often prefixed with ``Abstract``;
* Prefix abstract classes ``Abstract``; Please note some early Symfony2 classes
Copy link
Member

Choose a reason for hiding this comment

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

You should replace ; with .

@ghost
Copy link
Author

ghost commented Dec 17, 2012

@wouterj - thanks for the tweak, I'm committed and squashed it.

weaverryan added a commit that referenced this pull request Dec 18, 2012
Added Exception and tweaked language of Abstract
@weaverryan weaverryan merged commit 7f3f422 into symfony:2.0 Dec 18, 2012
@weaverryan
Copy link
Member

Hi Drak!

Looks great to me and thanks for the conversation on #922 :)

Thanks!

weaverryan added a commit that referenced this pull request Dec 19, 2012
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