Skip to content

Commit 4b12ff0

Browse files
committed
ci: add tests for PHP 8.5
1 parent 2cc1ccb commit 4b12ff0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
},
1919
"require-dev": {
2020
"phpunit/phpunit": "^8.5 || ^9.0 || ^10.0 || ^11.0 || ^12.0",
21-
"php-http/client-integration-tests": "^3.0",
21+
"php-http/client-integration-tests": "^3.0 || 3.x-dev",
2222
"phpspec/prophecy-phpunit": "^2.0",
2323
"php-http/message-factory": "^1.1"
2424
},

tests/PromiseExceptionTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
use Http\Client\Exception\NetworkException;
1212
use Http\Client\Exception\RequestException;
1313
use Http\Client\Exception\TransferException;
14+
use PHPUnit\Framework\Attributes\DataProvider;
1415
use PHPUnit\Framework\TestCase;
1516
use Psr\Http\Message\RequestInterface;
1617
use Psr\Http\Message\ResponseInterface;
@@ -24,7 +25,7 @@ final class PromiseExceptionTest extends TestCase
2425
/**
2526
* @dataProvider exceptionThatIsThrownForGuzzleExceptionProvider
2627
*/
27-
##[DataProvider('exceptionThatIsThrownForGuzzleExceptionProvider')]
28+
#[DataProvider('exceptionThatIsThrownForGuzzleExceptionProvider')]
2829
public function testExceptionThatIsThrownForGuzzleException(
2930
RequestInterface $request,
3031
$reason,

0 commit comments

Comments
 (0)