1 | <?php |
||
2 | |||
3 | declare(strict_types=1); |
||
4 | |||
5 | namespace JMS\Serializer\EventDispatcher; |
||
6 | |||
7 | use JMS\Serializer\Context; |
||
8 | use JMS\Serializer\Type\Type; |
||
9 | |||
10 | /** |
||
11 | * @phpstan-import-type TypeArray from Type |
||
12 | */ |
||
13 | 242 | class ObjectEvent extends Event |
|
14 | { |
||
15 | 242 | /** |
|
16 | * @var mixed |
||
17 | 242 | */ |
|
18 | 242 | private $object; |
|
19 | |||
20 | 233 | /** |
|
21 | * @param mixed $object |
||
22 | 233 | * @param TypeArray $type |
|
0 ignored issues
–
show
|
|||
23 | */ |
||
24 | public function __construct(Context $context, $object, array $type) |
||
25 | { |
||
26 | parent::__construct($context, $type); |
||
27 | |||
28 | $this->object = $object; |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * @return mixed |
||
33 | */ |
||
34 | public function getObject() |
||
35 | { |
||
36 | return $this->object; |
||
37 | } |
||
38 | } |
||
39 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths