| Total Complexity | 4 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | final class ExceptionMiddleware implements MiddlewareInterface |
||
| 18 | { |
||
| 19 | public function __construct( |
||
| 20 | private DataResponseFactoryInterface $dataResponseFactory, |
||
| 21 | private HttpExceptionMapper $httpExceptionMapper, |
||
| 22 | ) { |
||
| 23 | } |
||
| 24 | |||
| 25 | public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
||
| 35 | } |
||
| 36 | } |
||
| 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