File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
tests/DependencyInjection/Fixtures Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -41,16 +41,17 @@ public function registerBundles(): iterable
4141 public function registerContainerConfiguration (LoaderInterface $ loader ): void
4242 {
4343 $ loader ->load (function (ContainerBuilder $ container ): void {
44- $ frameworkConfig = [
44+ $ container -> loadFromExtension ( ' framework ' , [
4545 'secret ' => 'F00 ' ,
4646 'http_method_override ' => false ,
47- ];
47+ ]);
48+
4849 if (version_compare (Kernel::VERSION , '7.0.0 ' , '< ' )) {
49- $ frameworkConfig ['annotations ' ] = ['enabled ' => true ];
50+ $ container ->loadFromExtension ('framework ' , [
51+ 'annotations ' => ['enabled ' => true ],
52+ ]);
5053 }
5154
52- $ container ->loadFromExtension ('framework ' , $ frameworkConfig );
53-
5455 $ container ->loadFromExtension ('doctrine ' , [
5556 'dbal ' => $ this ->dbalConfig ,
5657 ]);
You can’t perform that action at this time.
0 commit comments