diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index e6b9960e..7a06d5e1 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -5,6 +5,9 @@ use Illuminate\Console\Scheduling\Schedule; use Illuminate\Foundation\Console\Kernel as ConsoleKernel; +/** + * @codeCoverageIgnore + */ class Kernel extends ConsoleKernel { /** diff --git a/app/Http/Middleware/Authenticate.php b/app/Http/Middleware/Authenticate.php index d4ef6447..c0fcf560 100644 --- a/app/Http/Middleware/Authenticate.php +++ b/app/Http/Middleware/Authenticate.php @@ -9,6 +9,7 @@ class Authenticate extends Middleware { /** * Get the path the user should be redirected to when they are not authenticated. + * @codeCoverageIgnore */ protected function redirectTo(Request $request): ?string { diff --git a/app/Http/Middleware/RedirectIfAuthenticated.php b/app/Http/Middleware/RedirectIfAuthenticated.php index afc78c4e..0bd3f902 100644 --- a/app/Http/Middleware/RedirectIfAuthenticated.php +++ b/app/Http/Middleware/RedirectIfAuthenticated.php @@ -13,6 +13,7 @@ class RedirectIfAuthenticated /** * Handle an incoming request. * + * @codeCoverageIgnore * @param \Closure(\Illuminate\Http\Request): (\Symfony\Component\HttpFoundation\Response) $next */ public function handle(Request $request, Closure $next, string ...$guards): Response diff --git a/app/Http/Middleware/TrustHosts.php b/app/Http/Middleware/TrustHosts.php index c9c58bdd..de285aa9 100644 --- a/app/Http/Middleware/TrustHosts.php +++ b/app/Http/Middleware/TrustHosts.php @@ -9,6 +9,7 @@ class TrustHosts extends Middleware /** * Get the host patterns that should be trusted. * + * @codeCoverageIgnore * @return array */ public function hosts(): array diff --git a/app/Http/Responses/ApiErrorResponse.php b/app/Http/Responses/ApiErrorResponse.php index f78754c7..a22d6d60 100644 --- a/app/Http/Responses/ApiErrorResponse.php +++ b/app/Http/Responses/ApiErrorResponse.php @@ -13,6 +13,8 @@ class ApiErrorResponse implements Responsable * * This class is responsible for constructing an API error response object * with the provided message, optional exception, status code, and headers. + * + * @codeCoverageIgnore */ public function __construct( private $message, @@ -24,6 +26,7 @@ public function __construct( /** * Convert the exception to a JSON response. * + * @codeCoverageIgnore * @param \Illuminate\Http\Request $request * @return \Illuminate\Http\JsonResponse */ diff --git a/app/Http/Responses/ApiSuccessResponse.php b/app/Http/Responses/ApiSuccessResponse.php index c2daec82..25e1c66a 100644 --- a/app/Http/Responses/ApiSuccessResponse.php +++ b/app/Http/Responses/ApiSuccessResponse.php @@ -12,6 +12,7 @@ class ApiSuccessResponse implements Responsable * * This class is responsible for constructing a successful API response * with the provided data, status code, and headers. + * @codeCoverageIgnore */ public function __construct( private $data, @@ -22,6 +23,7 @@ public function __construct( /** * Convert the response instance to a JSON response. * + * @codeCoverageIgnore * @param \Illuminate\Http\Request $request * @return \Symfony\Component\HttpFoundation\Response|void */ diff --git a/app/Providers/BroadcastServiceProvider.php b/app/Providers/BroadcastServiceProvider.php index 2be04f5d..59726474 100644 --- a/app/Providers/BroadcastServiceProvider.php +++ b/app/Providers/BroadcastServiceProvider.php @@ -9,6 +9,7 @@ class BroadcastServiceProvider extends ServiceProvider { /** * Bootstrap any application services. + * @codeCoverageIgnore */ public function boot(): void {