Skip to content

Commit fdecc69

Browse files
inelgnufabpot
authored andcommitted
removing dead code.
1 parent c11c588 commit fdecc69

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

src/Symfony/Component/EventDispatcher/Tests/ContainerAwareEventDispatcherTest.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,6 @@ public function testHasListenersOnLazyLoad()
182182

183183
public function testGetListenersOnLazyLoad()
184184
{
185-
$event = new Event();
186-
187185
$service = $this->getMock('Symfony\Component\EventDispatcher\Tests\Service');
188186

189187
$container = new Container();
@@ -201,8 +199,6 @@ public function testGetListenersOnLazyLoad()
201199

202200
public function testRemoveAfterDispatch()
203201
{
204-
$event = new Event();
205-
206202
$service = $this->getMock('Symfony\Component\EventDispatcher\Tests\Service');
207203

208204
$container = new Container();
@@ -218,8 +214,6 @@ public function testRemoveAfterDispatch()
218214

219215
public function testRemoveBeforeDispatch()
220216
{
221-
$event = new Event();
222-
223217
$service = $this->getMock('Symfony\Component\EventDispatcher\Tests\Service');
224218

225219
$container = new Container();

src/Symfony/Component/EventDispatcher/Tests/ImmutableEventDispatcherTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
use Symfony\Component\EventDispatcher\Event;
1515
use Symfony\Component\EventDispatcher\ImmutableEventDispatcher;
16-
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
1716

1817
/**
1918
* @author Bernhard Schussek <[email protected]>

0 commit comments

Comments
 (0)