Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 1 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
13 | public function __construct( |
||
14 | #[Serializer\Type(ClientProfile::class)] |
||
15 | public ?ClientProfile $client, |
||
|
|||
16 | |||
17 | #[Serializer\Type('ArrayCollection<VasilDakov\Econt\Model\Address>')] |
||
18 | public ArrayCollection $addresses, |
||
19 | |||
20 | #[Serializer\Type(CDPayOptions::class)] |
||
21 | public ?CDPayOptions $cdPayOptions, |
||
22 | |||
23 | #[Serializer\Type(Instruction::class)] |
||
24 | public ?Instruction $instructionTemplates, |
||
25 | ) { |
||
26 | $this->addresses = new ArrayCollection(); |
||
27 | } |
||
28 | } |
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