src/Illuminate/Database/DetectsLostConnections.php
Method causedByLostConnection
has 64 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function causedByLostConnection(Throwable $e)
{
$message = $e->getMessage();
return Str::contains($message, [