You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Symfony/Component/EventDispatcher/Tests/EventDispatcherTest.php
-27Lines changed: 0 additions & 27 deletions
Original file line number
Diff line number
Diff line change
@@ -397,33 +397,6 @@ public function testMutatingWhilePropagationIsStopped()
397
397
398
398
$this->assertTrue($testLoaded);
399
399
}
400
-
401
-
/**
402
-
* @group legacy
403
-
* @expectedDeprecation Calling the "Symfony\Component\EventDispatcher\EventDispatcherInterface::dispatch()" method with the event name as the first argument is deprecated since Symfony 4.3, pass it as the second argument and provide the event object as the first argument instead.
404
-
*/
405
-
publicfunctiontestLegacySignatureWithoutEvent()
406
-
{
407
-
$this->dispatcher->dispatch('foo');
408
-
}
409
-
410
-
/**
411
-
* @group legacy
412
-
* @expectedDeprecation Calling the "Symfony\Component\EventDispatcher\EventDispatcherInterface::dispatch()" method with the event name as the first argument is deprecated since Symfony 4.3, pass it as the second argument and provide the event object as the first argument instead.
413
-
*/
414
-
publicfunctiontestLegacySignatureWithEvent()
415
-
{
416
-
$this->dispatcher->dispatch('foo', newEvent());
417
-
}
418
-
419
-
/**
420
-
* @expectedException \TypeError
421
-
* @expectedExceptionMessage Argument 1 passed to "Symfony\Component\EventDispatcher\EventDispatcherInterface::dispatch()" must be an object, string given.
0 commit comments