The class Symfony\Component\EventDispatcher\Event has been deprecated with message: since Symfony 4.3, use "Symfony\Contracts\EventDispatcher\Event" instead
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be
removed from the class and what other constant to use instead.
This class seems to be duplicated in your project.
Duplicated code is one of the most pungent code smells. If you need to duplicate
the same code in three or more different places, we strongly encourage you to
look into extracting the code into a single class or operation.
You can also find more detailed suggestions in the “Code” section of your repository.
Loading history...
24
{
25
/**
26
* @var mixed
27
*/
28
private $data;
29
30
/**
31
* @var string
32
*/
33
private $type;
34
35
/**
36
* @var string
37
*/
38
private $format;
39
40
/**
41
* @var array
42
*/
43
private $context;
44
45
/**
46
* Constructor.
47
*
48
* @param mixed $data
49
* @param string $type
50
* @param string $format
51
* @param array $context
52
*/
53
5
public function __construct($data, string $type, string $format, array $context)
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.