1 | <?php |
||
2 | |||
3 | declare(strict_types=1); |
||
4 | |||
5 | namespace VasilDakov\Econt\Model; |
||
6 | |||
7 | use JMS\Serializer\Annotation as Serializer; |
||
8 | |||
9 | readonly class Office |
||
10 | { |
||
11 | 2 | public function __construct( |
|
12 | #[Serializer\Type('int')] |
||
13 | public ?int $id = null, |
||
14 | |||
15 | #[Serializer\Type('string')] |
||
16 | public ?string $code = null, |
||
17 | |||
18 | #[Serializer\Type('string')] |
||
19 | public ?string $name = null, |
||
20 | |||
21 | #[Serializer\Type('string')] |
||
22 | public ?string $nameEn = null, |
||
23 | |||
24 | #[Serializer\Type('bool')] |
||
25 | public ?bool $isMPS = null, |
||
26 | |||
27 | #[Serializer\Type('bool')] |
||
28 | public ?bool $isAPS = null, |
||
29 | |||
30 | #[Serializer\Type('array')] |
||
31 | public ?array $phones = null, |
||
32 | |||
33 | #[Serializer\Type('array')] |
||
34 | public ?array $emails = null, |
||
35 | |||
36 | #[Serializer\Type(Address::class)] |
||
37 | public ?Address $address = null, |
||
0 ignored issues
–
show
|
|||
38 | |||
39 | #[Serializer\Type('string')] |
||
40 | public ?string $info = null, |
||
41 | |||
42 | #[Serializer\Type('string')] |
||
43 | public ?string $currency = null, |
||
44 | |||
45 | #[Serializer\Type('string')] |
||
46 | public ?string $language = null, |
||
47 | |||
48 | #[Serializer\Type('int')] |
||
49 | public ?int $normalBusinessHoursFrom = null, |
||
50 | |||
51 | #[Serializer\Type('int')] |
||
52 | public ?int $normalBusinessHoursTo = null, |
||
53 | |||
54 | #[Serializer\Type('array')] |
||
55 | public ?array $shipmentTypes = null, |
||
56 | |||
57 | #[Serializer\Type('string')] |
||
58 | public ?string $partnerCode = null, |
||
59 | |||
60 | #[Serializer\Type('string')] |
||
61 | public ?string $hubCode = null, |
||
62 | |||
63 | #[Serializer\Type('string')] |
||
64 | public ?string $hubName = null, |
||
65 | |||
66 | #[Serializer\Type('string')] |
||
67 | public ?string $hubNameEn = null, |
||
68 | |||
69 | #[Serializer\Type('bool')] |
||
70 | public ?bool $isDrive = null, |
||
71 | ){ |
||
72 | 2 | } |
|
73 | } |
||
74 |
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