File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/Symfony/Bundle/WebProfilerBundle
Tests/DependencyInjection Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 18
18
use Symfony \Component \DependencyInjection \Definition ;
19
19
use Symfony \Component \DependencyInjection \Reference ;
20
20
use Symfony \Component \EventDispatcher \DependencyInjection \RegisterListenersPass ;
21
- use Symfony \Component \EventDispatcher \ContainerAwareEventDispatcher ;
21
+ use Symfony \Component \EventDispatcher \EventDispatcher ;
22
22
23
23
class WebProfilerExtensionTest extends TestCase
24
24
{
@@ -52,7 +52,7 @@ protected function setUp()
52
52
$ this ->kernel = $ this ->getMockBuilder ('Symfony \\Component \\HttpKernel \\KernelInterface ' )->getMock ();
53
53
54
54
$ this ->container = new ContainerBuilder ();
55
- $ this ->container ->register ('event_dispatcher ' , ContainerAwareEventDispatcher ::class)-> addArgument ( new Reference ( ' service_container ' ) );
55
+ $ this ->container ->register ('event_dispatcher ' , EventDispatcher ::class);
56
56
$ this ->container ->register ('router ' , $ this ->getMockClass ('Symfony \\Component \\Routing \\RouterInterface ' ));
57
57
$ this ->container ->register ('twig ' , 'Twig\Environment ' );
58
58
$ this ->container ->register ('twig_loader ' , 'Twig\Loader\ArrayLoader ' )->addArgument (array ());
Original file line number Diff line number Diff line change 32
32
},
33
33
"conflict" : {
34
34
"symfony/dependency-injection" : " <3.3" ,
35
- "symfony/event-dispatcher" : " <3.2 " ,
35
+ "symfony/event-dispatcher" : " <3.3 " ,
36
36
"symfony/var-dumper" : " <3.3"
37
37
},
38
38
"autoload" : {
You can’t perform that action at this time.
0 commit comments