Conditions | 3 |
Paths | 4 |
Total Lines | 8 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
36 | public function getNotFoundMessage(NotFoundHttpException $exception) |
||
37 | { |
||
38 | $message = ! empty($exception->getMessage()) ? $exception->getMessage() : class_basename($exception); |
||
39 | if (basename($exception->getFile()) === 'RouteCollection.php') { |
||
40 | $message = __('exception::exceptions.not_found_http.message'); |
||
41 | } |
||
42 | |||
43 | return $message; |
||
44 | } |
||
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