Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
51 | public function addFullPath(stdClass $providers):stdClass |
||
52 | { |
||
53 | // Add full path for services of mirror don't provide only packagist.org |
||
54 | foreach (['notify', 'notify-batch', 'search'] as $key) { |
||
55 | // Just in case packagist.org add full path in future |
||
56 | $path = parse_url($providers->$key){'path'}; |
||
57 | $providers->$key = $this->http->getBaseUri().$path; |
||
58 | } |
||
59 | |||
60 | return $providers; |
||
61 | } |
||
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