Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1d57b80

Browse filesBrowse files
fix merge
1 parent 3e54cb7 commit 1d57b80
Copy full SHA for 1d57b80

File tree

1 file changed

+0
-27
lines changed
Filter options

1 file changed

+0
-27
lines changed

‎src/Symfony/Component/EventDispatcher/Tests/EventDispatcherTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/EventDispatcher/Tests/EventDispatcherTest.php
-27Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -397,33 +397,6 @@ public function testMutatingWhilePropagationIsStopped()
397397

398398
$this->assertTrue($testLoaded);
399399
}
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-
public function testLegacySignatureWithoutEvent()
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-
public function testLegacySignatureWithEvent()
415-
{
416-
$this->dispatcher->dispatch('foo', new Event());
417-
}
418-
419-
/**
420-
* @expectedException \TypeError
421-
* @expectedExceptionMessage Argument 1 passed to "Symfony\Component\EventDispatcher\EventDispatcherInterface::dispatch()" must be an object, string given.
422-
*/
423-
public function testLegacySignatureWithNewEventObject()
424-
{
425-
$this->dispatcher->dispatch('foo', new ContractsEvent());
426-
}
427400
}
428401

429402
class CallableClass

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.