From d370e180c7dde6985e20b425a1bd59471fdb6aea Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Sun, 17 Sep 2017 08:53:32 -0700 Subject: [PATCH] added another validation rule --- README.rst | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 3b6803d9..869d6f32 100644 --- a/README.rst +++ b/README.rst @@ -42,6 +42,11 @@ options and configurators. manifest is the registration of the bundle for all environments, as this is done automatically. +.. note:: + + When creating a recipe, don't create bundle config files under + ``config/packages/`` when no options are set. + Options ------- @@ -308,7 +313,8 @@ the recipe: * The package does not depend on ``symfony/symfony``; * All text files should end with a newline; * All configuration file names under ``config`` should use the underscore notation; -* All files are stored under a directory referenced by the "copy-from-recipe" section of "manifest.json" +* No "semantically" empty configuration files are created under ``config/packages``; +* All files are stored under a directory referenced by the "copy-from-recipe" section of "manifest.json"; * The Symfony website must be referenced using HTTPs. Full Example