Total Complexity | 5 |
Total Lines | 44 |
Duplicated Lines | 0 % |
Coverage | 66.67% |
Changes | 0 |
1 | <?php |
||
7 | final class RegularMarketChange extends AbstractWriteModel |
||
|
|||
8 | { |
||
9 | public const RAW = 'raw'; |
||
10 | public const FMT = 'fmt'; |
||
11 | |||
12 | private const METADATA = [ |
||
13 | self::FMT => [ |
||
14 | 'type' => self::TYPE_STRING, |
||
15 | ], |
||
16 | self::RAW => [ |
||
17 | 'type' => self::TYPE_FLOAT, |
||
18 | ], |
||
19 | ]; |
||
20 | |||
21 | protected ?float $raw = null; |
||
22 | protected ?string $fmt = null; |
||
23 | |||
24 | public function getRaw(): ?float |
||
25 | { |
||
26 | return $this->raw; |
||
27 | } |
||
28 | |||
29 | 1 | public function setRaw(?float $raw): self |
|
30 | { |
||
31 | 1 | $this->raw = $raw; |
|
32 | |||
33 | 1 | return $this; |
|
34 | } |
||
35 | |||
36 | public function getFmt(): ?string |
||
39 | } |
||
40 | |||
41 | 1 | public function setFmt(?string $fmt): self |
|
46 | } |
||
47 | |||
48 | 12 | protected function metadata(): array |
|
51 | } |
||
52 | } |
||
53 |
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