Total Complexity | 3 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Coverage | 63.64% |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
14 | class SimpleDirectedWeightedGraph extends SimpleDirectedGraph |
||
15 | { |
||
16 | /** |
||
17 | * Create a new simple directed weighted graph |
||
18 | * |
||
19 | * @param string $edgeClass - the edge class |
||
20 | * @param SupplierInterface $vertexSupplier - the vertex supplier |
||
21 | * @param SupplierInterface $edgeSupplier - the edge supplier |
||
22 | * @param bool $weighted - if the graph is weighted |
||
23 | */ |
||
24 | 5 | public function __construct( |
|
25 | ?string $edgeClass = null, |
||
26 | ?SupplierInterface $vertexSupplier = null, |
||
|
|||
27 | ?SupplierInterface $edgeSupplier = null |
||
28 | ) { |
||
29 | 5 | parent::__construct( |
|
30 | 5 | $edgeClass, |
|
31 | 5 | $vertexSupplier, |
|
32 | 5 | $edgeSupplier, |
|
33 | 5 | true |
|
34 | ); |
||
35 | 5 | } |
|
36 | |||
37 | /** |
||
38 | * Create a simple directed weighted graph builder |
||
39 | * |
||
40 | * @param string $edgeClass - the edge class |
||
41 | * @param SupplierInterface $edgeSupplier - the edge supplier |
||
42 | * |
||
43 | * @return GraphBuilder |
||
44 | */ |
||
45 | public function createBuilder(?string $edgeClass = null, ?SupplierInterface $edgeSupplier = null): GraphBuilder |
||
51 | } |
||
52 | } |
||
53 |
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