@@ -25,7 +25,7 @@ public function testProcessWithoutFileLinkFormatParameter()
25
25
$ container = new ContainerBuilder ();
26
26
$ container ->addCompilerPass (new DumpDataCollectorPass ());
27
27
28
- $ definition = new Definition ('Symfony\Component\HttpKernel\DataCollector\DumpDataCollector ' , array ( null , null , null , null ) );
28
+ $ definition = new Definition ('Symfony\Component\HttpKernel\DataCollector\DumpDataCollector ' , [ null , null , null , null ] );
29
29
$ container ->setDefinition ('data_collector.dump ' , $ definition );
30
30
31
31
$ container ->compile ();
@@ -39,7 +39,7 @@ public function testProcessWithToolbarEnabled()
39
39
$ container ->addCompilerPass (new DumpDataCollectorPass ());
40
40
$ requestStack = new RequestStack ();
41
41
42
- $ definition = new Definition ('Symfony\Component\HttpKernel\DataCollector\DumpDataCollector ' , array ( null , null , null , $ requestStack) );
42
+ $ definition = new Definition ('Symfony\Component\HttpKernel\DataCollector\DumpDataCollector ' , [ null , null , null , $ requestStack] );
43
43
$ container ->setDefinition ('data_collector.dump ' , $ definition );
44
44
$ container ->setParameter ('web_profiler.debug_toolbar.mode ' , WebDebugToolbarListener::ENABLED );
45
45
@@ -53,7 +53,7 @@ public function testProcessWithToolbarDisabled()
53
53
$ container = new ContainerBuilder ();
54
54
$ container ->addCompilerPass (new DumpDataCollectorPass ());
55
55
56
- $ definition = new Definition ('Symfony\Component\HttpKernel\DataCollector\DumpDataCollector ' , array ( null , null , null , new RequestStack ()) );
56
+ $ definition = new Definition ('Symfony\Component\HttpKernel\DataCollector\DumpDataCollector ' , [ null , null , null , new RequestStack ()] );
57
57
$ container ->setDefinition ('data_collector.dump ' , $ definition );
58
58
$ container ->setParameter ('web_profiler.debug_toolbar.mode ' , WebDebugToolbarListener::DISABLED );
59
59
@@ -67,7 +67,7 @@ public function testProcessWithoutToolbar()
67
67
$ container = new ContainerBuilder ();
68
68
$ container ->addCompilerPass (new DumpDataCollectorPass ());
69
69
70
- $ definition = new Definition ('Symfony\Component\HttpKernel\DataCollector\DumpDataCollector ' , array ( null , null , null , new RequestStack ()) );
70
+ $ definition = new Definition ('Symfony\Component\HttpKernel\DataCollector\DumpDataCollector ' , [ null , null , null , new RequestStack ()] );
71
71
$ container ->setDefinition ('data_collector.dump ' , $ definition );
72
72
73
73
$ container ->compile ();
0 commit comments