diff --git a/src/Commands/TestCommand.php b/src/Commands/TestCommand.php index e463cf6e..213c6431 100644 --- a/src/Commands/TestCommand.php +++ b/src/Commands/TestCommand.php @@ -5,7 +5,6 @@ use Composer\InstalledVersions; use Exception; use Facade\FlareClient\Flare; -use Facade\FlareClient\Http\Exceptions\BadResponse; use Facade\FlareClient\Http\Exceptions\BadResponseCode; use Illuminate\Config\Repository; use Illuminate\Console\Command; @@ -79,7 +78,7 @@ protected function sendTestException() app(Flare::class)->sendTestReport($testException); $this->info(''); } catch (Exception $exception) { - $this->warn( '❌ We were unable to send an exception to Flare. '); + $this->warn('❌ We were unable to send an exception to Flare. '); if ($exception instanceof BadResponseCode) { $this->info(''); diff --git a/tests/Context/LaravelRequestContextTest.php b/tests/Context/LaravelRequestContextTest.php index 6afe5bf7..9572d16c 100644 --- a/tests/Context/LaravelRequestContextTest.php +++ b/tests/Context/LaravelRequestContextTest.php @@ -133,7 +133,7 @@ public function it_returns_the_authenticated_user() /** @test */ public function it_the_authenticated_user_model_has_a_toFlare_method_it_will_be_used_to_collect_user_data() { - $user = new class() extends User { + $user = new class () extends User { public function toFlare() { return ['id' => $this->id]; @@ -159,7 +159,7 @@ public function toFlare() /** @test */ public function it_the_authenticated_user_model_has_no_matching_method_it_will_return_no_user_data() { - $user = new class() { + $user = new class () { }; $request = $this->createRequest('GET', '/route', [], ['cookie' => 'noms']); @@ -176,7 +176,7 @@ public function it_the_authenticated_user_model_has_no_matching_method_it_will_r /** @test */ public function it_the_authenticated_user_model_is_broken_it_will_return_no_user_data() { - $user = new class() extends User { + $user = new class () extends User { protected $appends = ['invalid']; }; diff --git a/tests/JobRecorder/JobRecorderTest.php b/tests/JobRecorder/JobRecorderTest.php index e237e100..9ba5e930 100644 --- a/tests/JobRecorder/JobRecorderTest.php +++ b/tests/JobRecorder/JobRecorderTest.php @@ -133,7 +133,7 @@ private function createEvent( string $queue, $job ): JobExceptionOccurred { - $fakeQueue = new class() extends Queue { + $fakeQueue = new class () extends Queue { public function getPayload($job, $connection): string { return $this->createPayload($job, $connection);