From d4b1e457be711cd1a423546391bb6e0ae1cde125 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Tue, 9 Apr 2024 19:23:31 +0000 Subject: [PATCH] Apply fixes from StyleCI --- .../Testing/Concerns/InteractsWithExceptionHandling.php | 3 ++- src/Illuminate/Support/Testing/Fakes/ExceptionHandlerFake.php | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Illuminate/Foundation/Testing/Concerns/InteractsWithExceptionHandling.php b/src/Illuminate/Foundation/Testing/Concerns/InteractsWithExceptionHandling.php index 3cf3ebafd07b..9c95c137eabc 100644 --- a/src/Illuminate/Foundation/Testing/Concerns/InteractsWithExceptionHandling.php +++ b/src/Illuminate/Foundation/Testing/Concerns/InteractsWithExceptionHandling.php @@ -76,7 +76,8 @@ protected function withoutExceptionHandling(array $except = []) : $currentExceptionHandler; } - $exceptionHandler = new class($this->originalExceptionHandler, $except) implements ExceptionHandler, WithoutExceptionHandlingHandler { + $exceptionHandler = new class($this->originalExceptionHandler, $except) implements ExceptionHandler, WithoutExceptionHandlingHandler + { protected $except; protected $originalHandler; diff --git a/src/Illuminate/Support/Testing/Fakes/ExceptionHandlerFake.php b/src/Illuminate/Support/Testing/Fakes/ExceptionHandlerFake.php index 2d944932c392..b2763daf88d0 100644 --- a/src/Illuminate/Support/Testing/Fakes/ExceptionHandlerFake.php +++ b/src/Illuminate/Support/Testing/Fakes/ExceptionHandlerFake.php @@ -10,7 +10,6 @@ use Illuminate\Testing\Assert; use PHPUnit\Framework\Assert as PHPUnit; use PHPUnit\Framework\ExpectationFailedException; -use ReflectionClass; use Throwable; /**