| Total Complexity | 2 |
| Total Lines | 15 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | final class NotFoundHandler implements RequestHandlerInterface |
||
| 16 | { |
||
| 17 | public function __construct( |
||
| 18 | private readonly DataResponseFormatterInterface $formatter, |
||
| 19 | private readonly DataResponseFactoryInterface $dataResponseFactory, |
||
| 20 | private readonly TranslatorInterface $translator, |
||
| 21 | ) { |
||
| 22 | } |
||
| 23 | |||
| 24 | public function handle(ServerRequestInterface $request): ResponseInterface |
||
| 30 | ) |
||
| 31 | ); |
||
| 34 |
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