From fdecc69e985b6a2c9665f0f2814a93efcc0412c2 Mon Sep 17 00:00:00 2001 From: inalgnu Date: Sun, 9 Feb 2014 00:55:01 +0100 Subject: [PATCH] removing dead code. --- .../Tests/ContainerAwareEventDispatcherTest.php | 6 ------ .../EventDispatcher/Tests/ImmutableEventDispatcherTest.php | 1 - 2 files changed, 7 deletions(-) diff --git a/src/Symfony/Component/EventDispatcher/Tests/ContainerAwareEventDispatcherTest.php b/src/Symfony/Component/EventDispatcher/Tests/ContainerAwareEventDispatcherTest.php index 71f3ad0521..a355a1ab85 100644 --- a/src/Symfony/Component/EventDispatcher/Tests/ContainerAwareEventDispatcherTest.php +++ b/src/Symfony/Component/EventDispatcher/Tests/ContainerAwareEventDispatcherTest.php @@ -182,8 +182,6 @@ class ContainerAwareEventDispatcherTest extends \PHPUnit_Framework_TestCase public function testGetListenersOnLazyLoad() { - $event = new Event(); - $service = $this->getMock('Symfony\Component\EventDispatcher\Tests\Service'); $container = new Container(); @@ -201,8 +199,6 @@ class ContainerAwareEventDispatcherTest extends \PHPUnit_Framework_TestCase public function testRemoveAfterDispatch() { - $event = new Event(); - $service = $this->getMock('Symfony\Component\EventDispatcher\Tests\Service'); $container = new Container(); @@ -218,8 +214,6 @@ class ContainerAwareEventDispatcherTest extends \PHPUnit_Framework_TestCase public function testRemoveBeforeDispatch() { - $event = new Event(); - $service = $this->getMock('Symfony\Component\EventDispatcher\Tests\Service'); $container = new Container(); diff --git a/src/Symfony/Component/EventDispatcher/Tests/ImmutableEventDispatcherTest.php b/src/Symfony/Component/EventDispatcher/Tests/ImmutableEventDispatcherTest.php index 6402f89fa5..80a7e43be6 100644 --- a/src/Symfony/Component/EventDispatcher/Tests/ImmutableEventDispatcherTest.php +++ b/src/Symfony/Component/EventDispatcher/Tests/ImmutableEventDispatcherTest.php @@ -13,7 +13,6 @@ namespace Symfony\Component\EventDispatcher\Tests; use Symfony\Component\EventDispatcher\Event; use Symfony\Component\EventDispatcher\ImmutableEventDispatcher; -use Symfony\Component\EventDispatcher\EventSubscriberInterface; /** * @author Bernhard Schussek