Apply Pint fixes

This commit is contained in:
Bubka
2024-09-26 23:50:01 +02:00
parent 18fe45778a
commit c00b04e192
118 changed files with 398 additions and 458 deletions

View File

@ -36,7 +36,7 @@ class HandlerTest extends TestCase
$method = $class->getMethod('render');
$method->setAccessible(true);
$response = $method->invokeArgs($instance, [new Request(), $this->createMock($exception)]);
$response = $method->invokeArgs($instance, [new Request, $this->createMock($exception)]);
$this->assertInstanceOf(JsonResponse::class, $response);
@ -93,7 +93,7 @@ class HandlerTest extends TestCase
$method = $class->getMethod('render');
$method->setAccessible(true);
$response = $method->invokeArgs($instance, [new Request(), $this->createMock($exception)]);
$response = $method->invokeArgs($instance, [new Request, $this->createMock($exception)]);
$this->assertInstanceOf(JsonResponse::class, $response);
@ -131,7 +131,7 @@ class HandlerTest extends TestCase
$mockException = $this->createMock(\Illuminate\Auth\AuthenticationException::class);
$mockException->method('guards')->willReturn(['web-guard']);
$response = $method->invokeArgs($instance, [new Request(), $mockException]);
$response = $method->invokeArgs($instance, [new Request, $mockException]);
$this->assertInstanceOf(JsonResponse::class, $response);
@ -154,7 +154,7 @@ class HandlerTest extends TestCase
$mockException = $this->createMock(\Illuminate\Auth\AuthenticationException::class);
$mockException->method('guards')->willReturn(['reverse-proxy-guard']);
$response = $method->invokeArgs($instance, [new Request(), $mockException]);
$response = $method->invokeArgs($instance, [new Request, $mockException]);
$this->assertInstanceOf(JsonResponse::class, $response);
@ -176,7 +176,7 @@ class HandlerTest extends TestCase
$mockException = $this->createMock(\Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException::class);
$response = $method->invokeArgs($instance, [new Request(), $mockException]);
$response = $method->invokeArgs($instance, [new Request, $mockException]);
$this->assertInstanceOf(JsonResponse::class, $response);