The class Symfony\Component\EventDispatcher\Event has been deprecated: since Symfony 4.3, use "Symfony\Contracts\EventDispatcher\Event" instead
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-deprecated annotation
16
class ServerExceptionEvent extends /** @scrutinizer ignore-deprecated */ Event
Loading history...
17
{
18
/**
19
* @var \Exception
20
*/
21
private $exception;
22
23
/**
24
* ExceptionEvent constructor.
25
*
26
* @param \Exception $exception
27
*/
28
7
public function __construct(\Exception $exception)