Skip to content

Commit 96cb148

Browse files
committed
minor #11431 config/validator/validation.yaml fix (pandalowry)
This PR was submitted for the master branch but it was merged into the 4.2 branch instead (closes #11431). Discussion ---------- 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:" <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- ab09fbb config/validator/validation.yaml fix
2 parents b23ab4f + ab09fbb commit 96cb148

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

forms.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ object.
336336
337337
.. code-block:: yaml
338338
339-
# config/validation.yaml
339+
# config/validator/validation.yaml
340340
App\Entity\Task:
341341
properties:
342342
task:

0 commit comments

Comments
 (0)