| Total Complexity | 6 | 
| Total Lines | 30 | 
| Duplicated Lines | 0 % | 
| Coverage | 57.14% | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 9 | trait SpacecraftTorpedoTrait  | 
            ||
| 10 | { | 
            ||
| 11 | use SpacecraftTrait;  | 
            ||
| 12 | use SpacecraftSystemHealthTrait;  | 
            ||
| 13 | |||
| 14 | public function getTorpedoCount(): int  | 
            ||
| 15 |     { | 
            ||
| 16 | $torpedoStorage = $this->getThis()->getTorpedoStorage();  | 
            ||
| 17 |         if ($torpedoStorage === null) { | 
            ||
| 18 | return 0;  | 
            ||
| 19 | }  | 
            ||
| 20 | |||
| 21 | return $torpedoStorage->getStorage()->getAmount();  | 
            ||
| 22 | }  | 
            ||
| 23 | |||
| 24 | 3 | public function getTorpedo(): ?TorpedoTypeInterface  | 
            |
| 25 |     { | 
            ||
| 26 | 3 | $torpedoStorage = $this->getThis()->getTorpedoStorage();  | 
            |
| 27 | 3 |         if ($torpedoStorage === null) { | 
            |
| 28 | 3 | return null;  | 
            |
| 29 | }  | 
            ||
| 30 | |||
| 31 | return $torpedoStorage->getTorpedo();  | 
            ||
| 32 | }  | 
            ||
| 33 | |||
| 34 | 3 | public function getMaxTorpedos(): int  | 
            |
| 39 | }  | 
            ||
| 40 | }  | 
            ||
| 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