• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

RonasIT / laravel-empty-project / 13411912453

19 Feb 2025 11:54AM UTC coverage: 97.421%. Remained the same
13411912453

Pull #119

github

web-flow
Merge 843fa04c3 into 1defefe39
Pull Request #119: #118: chore: remove unused fixed version from composer.json

340 of 349 relevant lines covered (97.42%)

10.83 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/app/Http/Middleware/RedirectIfAuthenticated.php
1
<?php
2

3
namespace App\Http\Middleware;
4

5
use Closure;
6
use Illuminate\Support\Facades\Auth;
7

8
/**
9
 * @codeCoverageIgnore
10
 */
11
class RedirectIfAuthenticated
12
{
13
    public function handle($request, Closure $next, $guard = null)
14
    {
15
        if (Auth::guard($guard)->check()) {
16
            return redirect('/status');
17
        }
18

19
        return $next($request);
20
    }
21
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc