Conditions | 3 |
Paths | 2 |
Total Lines | 15 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
70 | public function normalize(stdClass $providers):array |
||
71 | { |
||
72 | if (!property_exists($providers, 'provider-includes')) { |
||
73 | throw new Exception('Not found providers information'); |
||
74 | } |
||
75 | |||
76 | $providerIncludes = $providers->{'provider-includes'}; |
||
77 | |||
78 | $includes = []; |
||
79 | foreach ($providerIncludes as $name => $hash) { |
||
80 | $uri = str_replace('%hash%', $hash->sha256, $name); |
||
81 | $includes[$uri] = $hash->sha256; |
||
82 | } |
||
83 | |||
84 | return $includes; |
||
85 | } |
||
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