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

LeTraceurSnorkLibrary / MessSaga / 23789040245

31 Mar 2026 08:56AM UTC coverage: 0.549% (-18.1%) from 18.656%
23789040245

Pull #13

github

web-flow
Merge fe9485107 into b32c68b3f
Pull Request #13: infra: coverage only for unit-tests

4 of 729 relevant lines covered (0.55%)

0.01 hits per line

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

0.0
/app/Http/Controllers/Auth/VerifyEmailController.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace App\Http\Controllers\Auth;
6

7
use App\Http\Controllers\Controller;
8
use Illuminate\Auth\Events\Verified;
9
use Illuminate\Foundation\Auth\EmailVerificationRequest;
10
use Illuminate\Http\RedirectResponse;
11

12
class VerifyEmailController extends Controller
13
{
14
    /**
15
     * Mark the authenticated user's email address as verified.
16
     */
17
    public function __invoke(EmailVerificationRequest $request): RedirectResponse
18
    {
19
        if ($request->user()->hasVerifiedEmail()) {
×
20
            return redirect()->intended(route('dashboard', absolute: false) . '?verified=1');
×
21
        }
22

23
        if ($request->user()->markEmailAsVerified()) {
×
24
            event(new Verified($request->user()));
×
25
        }
26

27
        return redirect()->intended(route('dashboard', absolute: false) . '?verified=1');
×
28
    }
29
}
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