Total Complexity | 6 |
Total Lines | 63 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
22 | class Provider |
||
23 | { |
||
24 | use Console; |
||
25 | |||
26 | /** |
||
27 | * @var Http |
||
28 | */ |
||
29 | protected $http; |
||
30 | |||
31 | /** |
||
32 | * Add a http. |
||
33 | * |
||
34 | * @param Http $http |
||
35 | * |
||
36 | * @return Base |
||
|
|||
37 | */ |
||
38 | public function setHttp(Http $http):Provider |
||
43 | } |
||
44 | |||
45 | /** |
||
46 | * Add base url of packagist.org to services on packages.json of |
||
47 | * mirror don't support. |
||
48 | * |
||
49 | * @param stdClass $providers List of providers from packages.json |
||
50 | */ |
||
51 | public function addFullPath(stdClass $providers):stdClass |
||
61 | } |
||
62 | |||
63 | /** |
||
64 | * Load provider includes. |
||
65 | * |
||
66 | * @param stdClass $providers |
||
67 | * |
||
68 | * @return array |
||
69 | */ |
||
70 | public function normalize(stdClass $providers):array |
||
87 |
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