Total Complexity | 4 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | final class PlayerId implements Stringable |
||
14 | { |
||
15 | private UuidV4 $id; |
||
16 | |||
17 | public function __construct(UuidV4 $id = null) |
||
18 | { |
||
19 | $this->id = $id ?? UuidV4::v4(); |
||
20 | } |
||
21 | |||
22 | public function id(): UuidV4 |
||
23 | { |
||
24 | return $this->id; |
||
25 | } |
||
26 | |||
27 | public function equals(self $anId): bool |
||
30 | } |
||
31 | |||
32 | /** |
||
33 | * @psalm-suppress ImpureMethodCall |
||
34 | */ |
||
35 | public function __toString(): string |
||
40 |
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