Merge branch '4.3' into 4.4
* 4.3: [Workflow] Simplified EventDispatcherMock. [Routing] revert the return type for UrlGeneratorInterface::generate to remove null
This commit is contained in:
commit
a20e1ad138
@ -572,7 +572,7 @@ class WorkflowTest extends TestCase
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class EventDispatcherMock implements \Symfony\Component\EventDispatcher\EventDispatcherInterface
|
class EventDispatcherMock implements \Symfony\Contracts\EventDispatcher\EventDispatcherInterface
|
||||||
{
|
{
|
||||||
public $dispatchedEvents = [];
|
public $dispatchedEvents = [];
|
||||||
|
|
||||||
@ -582,32 +582,4 @@ class EventDispatcherMock implements \Symfony\Component\EventDispatcher\EventDis
|
|||||||
|
|
||||||
return $event;
|
return $event;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function addListener($eventName, $listener, $priority = 0)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
public function addSubscriber(\Symfony\Component\EventDispatcher\EventSubscriberInterface $subscriber)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
public function removeListener($eventName, $listener)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
public function removeSubscriber(\Symfony\Component\EventDispatcher\EventSubscriberInterface $subscriber)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
public function getListeners($eventName = null): array
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
public function getListenerPriority($eventName, $listener): ?int
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
public function hasListeners($eventName = null): bool
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user