fix the fix
This commit is contained in:
parent
367c4d9810
commit
2fde0942ac
@ -18,7 +18,7 @@ use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||
use Symfony\Component\DependencyInjection\Definition;
|
||||
use Symfony\Component\DependencyInjection\Reference;
|
||||
use Symfony\Component\EventDispatcher\DependencyInjection\RegisterListenersPass;
|
||||
use Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher;
|
||||
use Symfony\Component\EventDispatcher\EventDispatcher;
|
||||
|
||||
class WebProfilerExtensionTest extends TestCase
|
||||
{
|
||||
@ -52,7 +52,7 @@ class WebProfilerExtensionTest extends TestCase
|
||||
$this->kernel = $this->getMockBuilder('Symfony\\Component\\HttpKernel\\KernelInterface')->getMock();
|
||||
|
||||
$this->container = new ContainerBuilder();
|
||||
$this->container->register('event_dispatcher', ContainerAwareEventDispatcher::class)->addArgument(new Reference('service_container'));
|
||||
$this->container->register('event_dispatcher', EventDispatcher::class);
|
||||
$this->container->register('router', $this->getMockClass('Symfony\\Component\\Routing\\RouterInterface'));
|
||||
$this->container->register('twig', 'Twig\Environment');
|
||||
$this->container->register('twig_loader', 'Twig\Loader\ArrayLoader')->addArgument(array());
|
||||
|
@ -32,7 +32,7 @@
|
||||
},
|
||||
"conflict": {
|
||||
"symfony/dependency-injection": "<3.3",
|
||||
"symfony/event-dispatcher": "<3.2",
|
||||
"symfony/event-dispatcher": "<3.3",
|
||||
"symfony/var-dumper": "<3.3"
|
||||
},
|
||||
"autoload": {
|
||||
|
Reference in New Issue
Block a user