Skip to content

Commit f2b6977

Browse files
committed
Merge branch '4.4' into 5.0
* 4.4: Updated default validation mapping directory
2 parents cf1546e + fceaa74 commit f2b6977

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
@@ -2192,7 +2192,7 @@ mapping
21922192
paths
21932193
"""""
21942194

2195-
**type**: ``array`` **default**: ``[]``
2195+
**type**: ``array`` **default**: ``['config/validation/']``
21962196

21972197
This option allows to define an array of paths with files or directories where
21982198
the component will look for additional validation files:
@@ -2206,7 +2206,7 @@ the component will look for additional validation files:
22062206
validation:
22072207
mapping:
22082208
paths:
2209-
- "%kernel.project_dir%/validation/"
2209+
- "%kernel.project_dir%/config/validation/"
22102210
22112211
.. code-block:: xml
22122212
@@ -2222,7 +2222,7 @@ the component will look for additional validation files:
22222222
<framework:config>
22232223
<framework:validation>
22242224
<framework:mapping>
2225-
<framework:path>%kernel.project_dir%/validation</framework:path>
2225+
<framework:path>%kernel.project_dir%/config/validation/</framework:path>
22262226
</framework:mapping>
22272227
</framework:validation>
22282228
</framework:config>
@@ -2235,7 +2235,7 @@ the component will look for additional validation files:
22352235
'validation' => [
22362236
'mapping' => [
22372237
'paths' => [
2238-
'%kernel.project_dir%/validation',
2238+
'%kernel.project_dir%/config/validation/',
22392239
],
22402240
],
22412241
],

0 commit comments

Comments
 (0)