Skip to content

Commit 899bbfd

Browse files
committed
ci: add tests for PHP 8.5
1 parent 6315543 commit 899bbfd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/PromiseExceptionTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ final class PromiseExceptionTest extends TestCase
2929
public function testExceptionThatIsThrownForGuzzleException(
3030
RequestInterface $request,
3131
$reason,
32-
string $adapterExceptionClass,
32+
string $adapterExceptionClass
3333
): void {
3434
$guzzlePromise = new \GuzzleHttp\Promise\Promise();
3535
$guzzlePromise->reject($reason);
@@ -40,8 +40,8 @@ public function testExceptionThatIsThrownForGuzzleException(
4040

4141
public static function exceptionThatIsThrownForGuzzleExceptionProvider(): array
4242
{
43-
$request = (new PromiseExceptionTest())->getMockBuilder(RequestInterface::class)->getMock();
44-
$response = (new PromiseExceptionTest())->getMockBuilder(ResponseInterface::class)->getMock();
43+
$request = (new PromiseExceptionTest)->getMockBuilder(RequestInterface::class)->getMock();
44+
$response = (new PromiseExceptionTest)->getMockBuilder(ResponseInterface::class)->getMock();
4545

4646
return [
4747
[$request, new GuzzleExceptions\ConnectException('foo', $request), NetworkException::class],

0 commit comments

Comments
 (0)