Total Complexity | 5 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Coverage | 75% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | trait SpacecrafCharacteristicsTrait |
||
9 | { |
||
10 | use SpacecraftTrait; |
||
11 | |||
12 | 7 | public function isStation(): bool |
|
15 | } |
||
16 | |||
17 | 1 | public function isShuttle(): bool |
|
18 | { |
||
19 | 1 | return $this->getThis()->getRump()->getCategoryId() === SpacecraftRumpEnum::SHIP_CATEGORY_SHUTTLE; |
|
20 | } |
||
21 | |||
22 | 2 | public function isConstruction(): bool |
|
23 | { |
||
24 | 2 | return $this->getThis()->getRump()->getCategoryId() === SpacecraftRumpEnum::SHIP_CATEGORY_CONSTRUCTION; |
|
25 | } |
||
26 | |||
27 | public function hasEscapePods(): bool |
||
30 | } |
||
31 | } |
||
32 |
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