| Total Complexity | 2 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | final class NotFoundHandler implements RequestHandlerInterface |
||
| 14 | { |
||
| 15 | private ResponseFactoryInterface $responseFactory; |
||
| 16 | private StreamFactoryInterface $streamFactory; |
||
| 17 | |||
| 18 | public function __construct( |
||
| 19 | ResponseFactoryInterface $responseFactory, |
||
| 20 | StreamFactoryInterface $streamFactory, |
||
| 21 | ) { |
||
| 22 | $this->responseFactory = $responseFactory; |
||
| 23 | $this->streamFactory = $streamFactory; |
||
| 24 | } |
||
| 25 | |||
| 26 | public function handle(ServerRequestInterface $request): ResponseInterface |
||
| 33 | } |
||
| 34 | } |
||
| 35 |
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