Skip to content

Commit 7e86f90

Browse files
committed
stop using deprecated PHPUnit APIs
1 parent 3281d24 commit 7e86f90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Test/HttpClientTestCase.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -844,7 +844,7 @@ public function testProxy()
844844

845845
$body = $response->toArray();
846846
$this->assertSame('localhost:8057', $body['HTTP_HOST']);
847-
$this->assertRegexp('#^http://(localhost|127\.0\.0\.1):8057/$#', $body['REQUEST_URI']);
847+
$this->assertMatchesRegularExpression('#^http://(localhost|127\.0\.0\.1):8057/$#', $body['REQUEST_URI']);
848848

849849
$response = $client->request('GET', 'http://localhost:8057/', [
850850
'proxy' => 'http://foo:b%3Dar@localhost:8057',

0 commit comments

Comments
 (0)