Total Complexity | 3 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
9 | class SingletonBattleParty extends AbstractBattleParty |
||
10 | { |
||
11 | private bool $isStation; |
||
12 | |||
13 | public function __construct( |
||
14 | SpacecraftWrapperInterface $leader |
||
15 | ) { |
||
16 | parent::__construct($leader); |
||
17 | |||
18 | $this->isStation = $leader->get()->isStation(); |
||
19 | } |
||
20 | |||
21 | #[Override] |
||
22 | public function initMembers(): Collection |
||
23 | { |
||
24 | return $this->createSingleton($this->leader); |
||
25 | } |
||
26 | |||
27 | #[Override] |
||
31 | } |
||
32 | } |
||
33 |
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