Conditions | 3 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
24 | protected function spanToHResponse(Context $ctx, MessageInterface $http) : void |
||
25 | { |
||
26 | if ($ctx->has(CTX::G_TRACER) && $ctx->has(CTX::G_SPAN)) { |
||
27 | /** |
||
28 | * @var Tracer $tracer |
||
29 | * @var Span $span |
||
30 | */ |
||
31 | $tracer = $ctx->get(CTX::G_TRACER); |
||
32 | $span = $ctx->get(CTX::G_SPAN); |
||
33 | |||
34 | $tracer->inject($span->getContext(), FMT::HTTP_HEADERS, $http); |
||
35 | } |
||
38 |
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