Total Complexity | 8 |
Total Lines | 48 |
Duplicated Lines | 0 % |
Coverage | 80% |
Changes | 0 |
1 | <?php |
||
13 | class ColonyMember implements InteractionMemberInterface |
||
14 | { |
||
15 | 4 | public function __construct( |
|
16 | private TholianWebUtilInterface $tholianWebUtil, |
||
17 | private ColonyInterface $colony |
||
18 | 4 | ) {} |
|
19 | |||
20 | #[Override] |
||
21 | public function get(): ColonyInterface |
||
22 | { |
||
23 | return $this->colony; |
||
24 | } |
||
25 | |||
26 | 2 | #[Override] |
|
27 | public function canAccess( |
||
28 | InteractionMemberInterface $other, |
||
29 | callable $shouldCheck |
||
30 | ): ?InteractionCheckType { |
||
31 | 2 | return null; |
|
32 | } |
||
33 | |||
34 | 2 | #[Override] |
|
49 | } |
||
50 | |||
51 | 4 | #[Override] |
|
52 | public function getLocation(): MapInterface|StarSystemMapInterface |
||
53 | { |
||
54 | 4 | return $this->colony->getLocation(); |
|
55 | } |
||
56 | |||
57 | 4 | #[Override] |
|
61 | } |
||
62 | } |
||
63 |
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