Total Complexity | 6 |
Total Lines | 49 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
12 | class IndexBuilder implements IndexBuilderInterface |
||
13 | { |
||
14 | /** |
||
15 | * @var \Elastica\Client |
||
16 | */ |
||
17 | private $client; |
||
18 | |||
19 | /** |
||
20 | * IndexBuilder constructor. |
||
21 | * |
||
22 | * @param \Elastica\Client $client |
||
23 | */ |
||
24 | 4 | public function __construct(Client $client) |
|
27 | 4 | } |
|
28 | |||
29 | /** |
||
30 | * @param \DataProvider\IndexDataProvider $indexDataProvider |
||
31 | */ |
||
32 | 3 | public function createIndex(IndexDataProvider $indexDataProvider): void |
|
44 | 3 | } |
|
45 | |||
46 | /** |
||
47 | * @param \Elastica\Index $index |
||
48 | * @param \DataProvider\TypeDataProvider[] $types |
||
49 | */ |
||
50 | 3 | protected function createTypes(Index $index, array $types): void |
|
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