Total Complexity | 2 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | final class PlayerDto implements JsonSerializable |
||
14 | { |
||
15 | private int $level; |
||
16 | private string $role; |
||
17 | private string $nickname; |
||
18 | private UuidV4 $playerId; |
||
19 | |||
20 | public function __construct(UuidV4 $playerId, string $nickname, int $level, string $role) |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * @psalm-suppress ImpureMethodCall |
||
30 | */ |
||
31 | public function jsonSerialize(): array |
||
41 |
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