File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2380,7 +2380,7 @@ mapping
2380
2380
paths
2381
2381
"""""
2382
2382
2383
- **type **: ``array `` **default **: ``[] ``
2383
+ **type **: ``array `` **default **: ``['config/validation/' ] ``
2384
2384
2385
2385
This option allows to define an array of paths with files or directories where
2386
2386
the component will look for additional validation files:
@@ -2394,7 +2394,7 @@ the component will look for additional validation files:
2394
2394
validation :
2395
2395
mapping :
2396
2396
paths :
2397
- - " %kernel.project_dir%/validation/"
2397
+ - " %kernel.project_dir%/config/ validation/"
2398
2398
2399
2399
.. code-block :: xml
2400
2400
@@ -2410,7 +2410,7 @@ the component will look for additional validation files:
2410
2410
<framework : config >
2411
2411
<framework : validation >
2412
2412
<framework : mapping >
2413
- <framework : path >%kernel.project_dir%/validation</framework : path >
2413
+ <framework : path >%kernel.project_dir%/config/ validation/ </framework : path >
2414
2414
</framework : mapping >
2415
2415
</framework : validation >
2416
2416
</framework : config >
@@ -2423,7 +2423,7 @@ the component will look for additional validation files:
2423
2423
'validation' => [
2424
2424
'mapping' => [
2425
2425
'paths' => [
2426
- '%kernel.project_dir%/validation',
2426
+ '%kernel.project_dir%/config/ validation/ ',
2427
2427
],
2428
2428
],
2429
2429
],
You can’t perform that action at this time.
0 commit comments