| Total Complexity | 4 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | trait NotFoundHttpHandler |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Set response parameters to NotFoundHttpException. |
||
| 11 | * |
||
| 12 | * @param NotFoundHttpException $exception |
||
| 13 | */ |
||
| 14 | public function notFoundHttpException(NotFoundHttpException $exception) |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Get message based on file. If file is RouteCollection return specific |
||
| 31 | * message. |
||
| 32 | * |
||
| 33 | * @param NotFoundHttpException $exception |
||
| 34 | * @return string |
||
| 35 | */ |
||
| 36 | public function getNotFoundMessage(NotFoundHttpException $exception) |
||
| 46 |
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