Total Complexity | 4 |
Total Lines | 41 |
Duplicated Lines | 0 % |
Coverage | 80% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | final class Handler extends ExceptionHandler |
||
11 | { |
||
12 | /** |
||
13 | * A list of the exception types that are not reported. |
||
14 | * |
||
15 | * @var array |
||
16 | */ |
||
17 | protected $dontReport = [ |
||
18 | // |
||
19 | ]; |
||
20 | |||
21 | /** |
||
22 | * A list of the inputs that are never flashed for validation exceptions. |
||
23 | * |
||
24 | * @var array |
||
25 | */ |
||
26 | protected $dontFlash = [ |
||
27 | 'password', |
||
28 | 'password_confirmation', |
||
29 | ]; |
||
30 | |||
31 | /** |
||
32 | * Report or log an exception. |
||
33 | * |
||
34 | * @param \Throwable $e |
||
35 | * @return void |
||
36 | * |
||
37 | * @throws \Exception |
||
38 | */ |
||
39 | 14 | public function report(Throwable $e) |
|
46 | 14 | } |
|
47 | |||
48 | protected function unauthenticated($request, AuthenticationException $exception) |
||
53 |
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