Skip to content

Commit 6f07f27

Browse files
committed
Skipped Symfony tests, requiring PHP 8.1+
1 parent 9402a18 commit 6f07f27

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

tests/ClientBuilderTest.php

+6
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,9 @@ public function testClientWithSymfonyPsr18Client()
349349
$this->assertEquals($symfonyClient, $client->getTransport()->getClient());
350350
}
351351

352+
/**
353+
* @requires PHP 8.1.0
354+
*/
352355
public function testClientWithSymfonyHttplugClient()
353356
{
354357
$symfonyClient = new HttplugClient();
@@ -360,6 +363,9 @@ public function testClientWithSymfonyHttplugClient()
360363
$this->assertEquals($symfonyClient, $client->getTransport()->getClient());
361364
}
362365

366+
/**
367+
* @requires PHP 8.1.0
368+
*/
363369
public function testAsyncClientWithSymfonyHttplugClient()
364370
{
365371
$symfonyClient = new HttplugClient();

tests/Transport/Adapter/SymfonyTest.php

+3
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222
use Symfony\Component\HttpClient\HttplugClient;
2323
use Symfony\Component\HttpClient\Psr18Client;
2424

25+
/**
26+
* @requires PHP 8.1.0
27+
*/
2528
class SymfonyTest extends TestCase
2629
{
2730
protected Symfony $symfonyAdapter;

0 commit comments

Comments
 (0)