File tree 4 files changed +5
-9
lines changed
src/Resources/config/doctrine
4 files changed +5
-9
lines changed Original file line number Diff line number Diff line change 67
67
"async-aws/simple-s3" : " ^1.0" ,
68
68
"aws/aws-sdk-php" : " ^3.0" ,
69
69
"dama/doctrine-test-bundle" : " ^8.0.1" ,
70
- "doctrine/doctrine-bundle" : " ^2.7 " ,
70
+ "doctrine/doctrine-bundle" : " ^2.11 " ,
71
71
"doctrine/mongodb-odm" : " ^2.4" ,
72
- "doctrine/orm" : " ^2.14 " ,
72
+ "doctrine/orm" : " ^2.16 || ^3.0 " ,
73
73
"friendsofphp/php-cs-fixer" : " ^3.4" ,
74
74
"knplabs/knp-menu-bundle" : " ^3.0" ,
75
75
"liip/imagine-bundle" : " ^2.0" ,
Original file line number Diff line number Diff line change 14
14
</field >
15
15
<field name =" width" column =" width" type =" integer" nullable =" true" />
16
16
<field name =" height" column =" height" type =" integer" nullable =" true" />
17
- <field name =" length" column =" length" type =" decimal" nullable =" true" />
17
+ <field name =" length" column =" length" type =" decimal" nullable =" true" precision = " 10 " />
18
18
<field name =" contentType" column =" content_type" type =" string" nullable =" true" length =" 255" />
19
19
<field name =" size" column =" content_size" type =" integer" nullable =" true" />
20
20
<field name =" copyright" column =" copyright" type =" string" nullable =" true" />
Original file line number Diff line number Diff line change @@ -80,6 +80,7 @@ doctrine:
80
80
orm :
81
81
entity_managers :
82
82
default :
83
+ report_fields_where_declared : true
83
84
mappings :
84
85
SonataMediaBundle : null
85
86
SonataMediaTest :
Original file line number Diff line number Diff line change 20
20
$ kernel = new AppKernel ($ _SERVER ['APP_ENV ' ] ?? 'test ' , (bool ) ($ _SERVER ['APP_DEBUG ' ] ?? false ));
21
21
$ application = new Application ($ kernel );
22
22
$ application ->setAutoExit (false );
23
+ $ application ->setCatchExceptions (false );
23
24
24
25
$ input = new ArrayInput ([
25
26
'command ' => 'doctrine:database:drop ' ,
26
27
'--force ' => true ,
27
28
]);
28
29
$ application ->run ($ input , new NullOutput ());
29
30
30
- $ input = new ArrayInput ([
31
- 'command ' => 'doctrine:database:create ' ,
32
- '--no-interaction ' => true ,
33
- ]);
34
- $ application ->run ($ input , new NullOutput ());
35
-
36
31
$ input = new ArrayInput ([
37
32
'command ' => 'doctrine:schema:create ' ,
38
33
]);
You can’t perform that action at this time.
0 commit comments