Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
38 | protected static function logDuration(Request $request, Response $response, $startTime) |
||
39 | { |
||
40 | $duration = microtime(true) - $startTime; |
||
41 | |||
42 | $tags = [ |
||
43 | "url" => $request->getSchemeAndHttpHost() . $request->getRequestUri(), |
||
44 | "status_code" => $response->getStatusCode() |
||
45 | ]; |
||
46 | |||
47 | Datadog::timing('request_time', $duration, 1, $tags); |
||
48 | } |
||
50 |
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