| Conditions | 3 |
| Paths | 4 |
| Total Lines | 17 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 60 | public function exception(Throwable $e, Context $ctx) : void |
||
| 61 | { |
||
| 62 | /** |
||
| 63 | * @var Response $http |
||
| 64 | */ |
||
| 65 | |||
| 66 | if ($http = $ctx->get(ServerWrapper::RESPONDING)) { |
||
| 67 | $code = $http->getStatusCode(); |
||
| 68 | $this->spanToHResponse($ctx, $http); |
||
| 69 | } |
||
| 70 | |||
| 71 | $this->isGenericException($e) |
||
| 72 | ? $this->closeSpan($ctx, [TAG::HTTP_STATUS_CODE => $code ?? 200]) |
||
| 73 | : $this->errorSpan($ctx, $e) |
||
| 74 | ; |
||
| 75 | |||
| 76 | throw $e; |
||
| 77 | } |
||
| 79 |
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