From 114b5322cd3fcab3408f655d917ba7ee9b72a084 Mon Sep 17 00:00:00 2001 From: Drak Date: Mon, 17 Dec 2012 09:49:01 +0000 Subject: [PATCH] Added Exception and tweaked language of Abstract --- contributing/code/standards.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/contributing/code/standards.rst b/contributing/code/standards.rst index f6bb4bb3bf9..7ef94607ee9 100644 --- a/contributing/code/standards.rst +++ b/contributing/code/standards.rst @@ -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 + do not follow this convention and have not been renamed for backward compatibility + reasons. However all new abstract classes must follow this naming convention; * Suffix interfaces with ``Interface``; * Suffix traits with ``Trait``; +* Suffix exceptions with ``Exception``; + * Use alphanumeric characters and underscores for file names; * Don't forget to look at the more verbose :doc:`conventions` document for