Skip to content

Commit a286136

Browse files
authored
Merge pull request #92 from php-http/remove-obsolete-check
we only support php 8.1 or newer
2 parents f59d699 + 61c6bcf commit a286136

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tests/Unit/ClientTest.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,7 @@ public function testExceptionThrownOnInvalidCurlOptions(): void
4040
public function testExpectHeaderIsEmpty(): void
4141
{
4242
$client = $this->createMock(Client::class);
43-
4443
$createHeaders = new \ReflectionMethod(Client::class, 'createHeaders');
45-
if (PHP_VERSION_ID < 80100) {
46-
$createHeaders->setAccessible(true);
47-
}
48-
4944
$request = new Request();
5045

5146
$headers = $createHeaders->invoke($client, $request, []);

0 commit comments

Comments
 (0)