Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
50 | 3 | protected function createTypes(Index $index, array $types): void |
|
51 | { |
||
52 | 3 | foreach ($types as $type) { |
|
53 | 2 | $esType = $index->getType($type->getName()); |
|
54 | |||
55 | 2 | $mapping = new Mapping(); |
|
56 | 2 | $mapping->setType($esType); |
|
57 | |||
58 | 2 | $mapping->setProperties($type->getMapping()); |
|
59 | |||
60 | 2 | $mapping->send(); |
|
61 | } |
||
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