Skip to content

Commit fceaa74

Browse files
committed
minor #12982 Updated default validation mapping directory (zairigimad)
This PR was submitted for the 5.0 branch but it was squashed and merged into the 4.4 branch instead. Discussion ---------- Updated default validation mapping directory Change the default mapping directory Commits ------- f538ce9 Updated default validation mapping directory
2 parents 5c3fe74 + f538ce9 commit fceaa74

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

reference/configuration/framework.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2380,7 +2380,7 @@ mapping
23802380
paths
23812381
"""""
23822382

2383-
**type**: ``array`` **default**: ``[]``
2383+
**type**: ``array`` **default**: ``['config/validation/']``
23842384

23852385
This option allows to define an array of paths with files or directories where
23862386
the component will look for additional validation files:
@@ -2394,7 +2394,7 @@ the component will look for additional validation files:
23942394
validation:
23952395
mapping:
23962396
paths:
2397-
- "%kernel.project_dir%/validation/"
2397+
- "%kernel.project_dir%/config/validation/"
23982398
23992399
.. code-block:: xml
24002400
@@ -2410,7 +2410,7 @@ the component will look for additional validation files:
24102410
<framework:config>
24112411
<framework:validation>
24122412
<framework:mapping>
2413-
<framework:path>%kernel.project_dir%/validation</framework:path>
2413+
<framework:path>%kernel.project_dir%/config/validation/</framework:path>
24142414
</framework:mapping>
24152415
</framework:validation>
24162416
</framework:config>
@@ -2423,7 +2423,7 @@ the component will look for additional validation files:
24232423
'validation' => [
24242424
'mapping' => [
24252425
'paths' => [
2426-
'%kernel.project_dir%/validation',
2426+
'%kernel.project_dir%/config/validation/',
24272427
],
24282428
],
24292429
],

0 commit comments

Comments
 (0)