Skip to content

Commit 20a7cf9

Browse files
committed
Merge branch '5.0'
* 5.0: Updated default validation mapping directory
2 parents 0ddd38b + f2b6977 commit 20a7cf9

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
@@ -2197,7 +2197,7 @@ mapping
21972197
paths
21982198
"""""
21992199

2200-
**type**: ``array`` **default**: ``[]``
2200+
**type**: ``array`` **default**: ``['config/validation/']``
22012201

22022202
This option allows to define an array of paths with files or directories where
22032203
the component will look for additional validation files:
@@ -2211,7 +2211,7 @@ the component will look for additional validation files:
22112211
validation:
22122212
mapping:
22132213
paths:
2214-
- "%kernel.project_dir%/validation/"
2214+
- "%kernel.project_dir%/config/validation/"
22152215
22162216
.. code-block:: xml
22172217
@@ -2227,7 +2227,7 @@ the component will look for additional validation files:
22272227
<framework:config>
22282228
<framework:validation>
22292229
<framework:mapping>
2230-
<framework:path>%kernel.project_dir%/validation</framework:path>
2230+
<framework:path>%kernel.project_dir%/config/validation/</framework:path>
22312231
</framework:mapping>
22322232
</framework:validation>
22332233
</framework:config>
@@ -2240,7 +2240,7 @@ the component will look for additional validation files:
22402240
'validation' => [
22412241
'mapping' => [
22422242
'paths' => [
2243-
'%kernel.project_dir%/validation',
2243+
'%kernel.project_dir%/config/validation/',
22442244
],
22452245
],
22462246
],

0 commit comments

Comments
 (0)