| Conditions | 3 | 
| Paths | 3 | 
| Total Lines | 20 | 
| Code Lines | 9 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 21 | public function handle( | ||
| 22 | $request, | ||
| 23 | Closure $next, | ||
| 24 | $guard = null | ||
| 25 |     ) { | ||
| 26 |         if (!Auth::guard($guard)->check()) { | ||
| 27 | throw new AuthenticationException; | ||
| 28 | } | ||
| 29 | |||
| 30 |         if (!Auth::guard($guard)->user()->viaMagicLink()) { | ||
| 31 | $response = $this->sendMagicLinkEmail($request); | ||
| 32 | |||
| 33 | Auth::guard($guard)->logout(); | ||
| 34 | |||
| 35 | return redirect() | ||
| 36 |                 ->guest(route('login')) | ||
| 37 |                 ->with('status', __($response)); | ||
| 38 | } | ||
| 39 | |||
| 40 | return $next($request); | ||
| 41 | } | ||
| 70 | 
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