File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change 13
13
14
14
use App \Entity \Book ;
15
15
use Doctrine \Bundle \DoctrineBundle \DoctrineBundle ;
16
- use Doctrine \Bundle \DoctrineBundle \Mapping \MappingDriver ;
17
16
use Doctrine \ORM \EntityManagerInterface ;
18
17
use Symfony \Bundle \DebugBundle \DebugBundle ;
19
18
use Symfony \Bundle \FrameworkBundle \Controller \TemplateController ;
@@ -91,10 +90,6 @@ protected function configureContainer(ContainerConfigurator $container): void
91
90
],
92
91
];
93
92
94
- if (class_exists (MappingDriver::class)) {
95
- $ doctrineConfig ['dbal ' ]['override_url ' ] = true ;
96
- }
97
-
98
93
$ container
99
94
->extension ('doctrine ' , $ doctrineConfig );
100
95
@@ -105,7 +100,6 @@ protected function configureContainer(ContainerConfigurator $container): void
105
100
]);
106
101
107
102
$ container ->extension ('mercure ' , [
108
- 'enable_profiler ' => '%kernel.debug% ' ,
109
103
'hubs ' => [
110
104
'default ' => [
111
105
'url ' => $ _SERVER ['MERCURE_PUBLISH_URL ' ] ?? 'http://127.0.0.1:3000/.well-known/mercure ' ,
Original file line number Diff line number Diff line change 42
42
"require-dev" : {
43
43
"doctrine/annotations" : " ^1.12" ,
44
44
"doctrine/doctrine-bundle" : " ^2.2" ,
45
- "doctrine/orm" : " ~ 2.8.0" ,
45
+ "doctrine/orm" : " ^ 2.8 | 3 .0" ,
46
46
"phpstan/phpstan" : " ^0.12" ,
47
47
"symfony/debug-bundle" : " ^5.2" ,
48
48
"symfony/form" : " ^5.2" ,
You can’t perform that action at this time.
0 commit comments