From de4d0b0aae6d027f1f90fd986278ad05d1dff18c Mon Sep 17 00:00:00 2001 From: Yury Izotov Date: Mon, 15 Apr 2019 16:58:23 +0500 Subject: [PATCH] config/validator/validation.yaml fix Validations in yaml will not work for a student passing through this section, since # config/validation.yaml was set while in the documentation for the component https://symfony.com/doc/current/validation.html#the-basics- Of-validation clearly states that: "These rules are usually defined using PHP code or annotations but they can also be defined as a validation.yaml or validation.xml file inside the config/validator/ directory:" --- forms.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forms.rst b/forms.rst index 268f4e8c74a..546b3f6dffe 100644 --- a/forms.rst +++ b/forms.rst @@ -336,7 +336,7 @@ object. .. code-block:: yaml - # config/validation.yaml + # config/validator/validation.yaml App\Entity\Task: properties: task: