laravel/framework

View on GitHub
src/Illuminate/Database/DetectsLostConnections.php

Summary

Maintainability
A
2 hrs
Test Coverage

Method causedByLostConnection has 64 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    protected function causedByLostConnection(Throwable $e)
    {
        $message = $e->getMessage();

        return Str::contains($message, [
Severity: Major
Found in src/Illuminate/Database/DetectsLostConnections.php - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status