Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public function assertNotReported(Closure|string $exception)
{
try {
$this->assertReported($exception);
} catch (ExpectationFailedException $e) {
} catch (ExpectationFailedException) {
return;
}

Expand Down
2 changes: 1 addition & 1 deletion tests/Foundation/FoundationHelpersTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ public function toResponse($request)
$this->fail(
sprintf('abort function must throw %s when receiving code as Responable implementation.', HttpResponseException::class)
);
} catch (HttpResponseException $ex) {
} catch (HttpResponseException) {
$this->assertSame($request, $code->request);
}
}
Expand Down
2 changes: 1 addition & 1 deletion tests/Integration/Database/SchemaBuilderSchemaNameTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ public function testHasTable($connection)
try {
$db->statement("create login my_user with password = 'Passw0rd'");
$db->statement('create user my_user for login my_user');
} catch(\Illuminate\Database\QueryException $e) {
} catch(\Illuminate\Database\QueryException) {
//
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ public function testChildEventsAreNotDispatchedIfParentTransactionFails()

throw new \Exception;
});
} catch (\Exception $e) {
} catch (\Exception) {
//
}

Expand Down
2 changes: 1 addition & 1 deletion tests/Queue/QueueSyncQueueTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public function testFailedJobHasAccessToJobInstance()

try {
$sync->push(new FailingSyncQueueJob());
} catch (LogicException $e) {
} catch (LogicException) {
$this->assertSame('extraValue', $_SERVER['__sync.failed']);
}
}
Expand Down