Skip to content

Commit 23e807a

Browse files
committed
Merge branch '4.4' into 5.1
* 4.4: stop using deprecated PHPUnit APIs
2 parents cd88921 + 7e86f90 commit 23e807a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Test/HttpClientTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -869,7 +869,7 @@ public function testProxy()
869869

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

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

0 commit comments

Comments
 (0)