Total Complexity | 7 |
Total Lines | 71 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
7 | final class MarketCap extends AbstractWriteModel |
||
|
|||
8 | { |
||
9 | public const RAW = 'raw'; |
||
10 | public const FMT = 'fmt'; |
||
11 | public const LONG_FMT = 'longFmt'; |
||
12 | |||
13 | protected const PROPERTY_NAME_MAP = [ |
||
14 | 'raw' => self::RAW, |
||
15 | 'Raw' => self::RAW, |
||
16 | 'fmt' => self::FMT, |
||
17 | 'Fmt' => self::FMT, |
||
18 | 'long_fmt' => self::LONG_FMT, |
||
19 | 'longFmt' => self::LONG_FMT, |
||
20 | 'LongFmt' => self::LONG_FMT, |
||
21 | ]; |
||
22 | |||
23 | private const METADATA = [ |
||
24 | self::RAW => [ |
||
25 | 'type' => self::TYPE_FLOAT, |
||
26 | ], |
||
27 | self::FMT => [ |
||
28 | 'type' => self::TYPE_STRING, |
||
29 | ], |
||
30 | self::LONG_FMT => [ |
||
31 | 'type' => self::TYPE_STRING, |
||
32 | ], |
||
33 | ]; |
||
34 | |||
35 | protected ?float $raw = null; |
||
36 | protected ?string $fmt = null; |
||
37 | protected ?string $longFmt = null; |
||
38 | |||
39 | 1 | public function getRaw(): ?float |
|
40 | { |
||
41 | 1 | return $this->raw; |
|
42 | } |
||
43 | |||
44 | 1 | public function setRaw(?float $raw): self |
|
45 | { |
||
46 | 1 | $this->raw = $raw; |
|
47 | |||
48 | 1 | return $this; |
|
49 | } |
||
50 | |||
51 | 1 | public function getFmt(): ?string |
|
52 | { |
||
53 | 1 | return $this->fmt; |
|
54 | } |
||
55 | |||
56 | 1 | public function setFmt(?string $fmt): self |
|
57 | { |
||
58 | 1 | $this->fmt = $fmt; |
|
59 | |||
60 | 1 | return $this; |
|
61 | } |
||
62 | |||
63 | 1 | public function getLongFmt(): ?string |
|
66 | } |
||
67 | |||
68 | 1 | public function setLongFmt(?string $longFmt): self |
|
73 | } |
||
74 | |||
75 | 13 | protected function metadata(): array |
|
78 | } |
||
79 | } |
||
80 |
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