From 68ae76f1eb283b299f978f07cb47a6ffb7226b2f Mon Sep 17 00:00:00 2001 From: Vladimir Chernyshev Date: Sat, 11 Feb 2017 19:25:49 +0200 Subject: [PATCH 1/2] Update standards.rst According http://symfony.com/blog/new-in-symfony-3-2-runtime-environment-variables --- contributing/code/standards.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contributing/code/standards.rst b/contributing/code/standards.rst index 0993b4a786e..3ae80f0454a 100644 --- a/contributing/code/standards.rst +++ b/contributing/code/standards.rst @@ -218,7 +218,7 @@ Service Naming Conventions * The DI alias of the bundle is the first group (e.g. ``fos_user``); -* Use lowercase letters for service and parameter names; +* Use lowercase letters for service and parameter names (only one exception - %env(VARIABLE_NAME)% syntax in parameters); * A group name uses the underscore notation. From 2867b34d4fdd284c4ac0e5d6b1a3a09ef1e75efd Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Sun, 12 Feb 2017 12:53:36 +0100 Subject: [PATCH 2/2] Minor reword --- contributing/code/standards.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contributing/code/standards.rst b/contributing/code/standards.rst index 3ae80f0454a..f8b8dff6af4 100644 --- a/contributing/code/standards.rst +++ b/contributing/code/standards.rst @@ -218,7 +218,8 @@ Service Naming Conventions * The DI alias of the bundle is the first group (e.g. ``fos_user``); -* Use lowercase letters for service and parameter names (only one exception - %env(VARIABLE_NAME)% syntax in parameters); +* Use lowercase letters for service and parameter names (except when referring + to environment variables with the ``%env(VARIABLE_NAME)%`` syntax); * A group name uses the underscore notation.