Conditions | 4 |
Paths | 6 |
Total Lines | 16 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
24 | protected function buildType(): Type |
||
25 | { |
||
26 | /** @var Type $result */ |
||
27 | $type = $this->load($this->reflection->getTypeDefinition()); |
||
28 | |||
29 | if ($this->reflection->isListOfNonNulls()) { |
||
30 | $type = Type::listOf(Type::nonNull($type)); |
||
31 | } elseif ($this->reflection->isList()) { |
||
32 | $type = Type::listOf($type); |
||
33 | } |
||
34 | |||
35 | if ($this->reflection->isNonNull()) { |
||
36 | $type = Type::nonNull($type); |
||
37 | } |
||
38 | |||
39 | return $type; |
||
40 | } |
||
42 |
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