You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: UPGRADE-6.3.md
-1Lines changed: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,6 @@ HttpClient
61
61
----------
62
62
63
63
* Deprecate the `Http\Client\HttpClient` service, use the `Http\Client\HttpAsyncClient` service for method `::sendAsyncRequest` and `psr\Http\Client\ClientInterface` for `::sendRequest` instead
64
-
* Deprecate `Symfony\Component\HttpClient\HttplugClient::sendRequest`, use `Psr\Http\Client\ClientInterface::sendRequest` instead
trigger_deprecation('symfony/http-client', '6.3', 'The "%s()" method is deprecated, use "%s::sendRequest()" instead.', __METHOD__, ClientInterface::class);
$this->expectDeprecation('Since symfony/http-client 6.3: The "Symfony\Component\HttpClient\HttplugClient::sendRequest()" method is deprecated, use "Psr\Http\Client\ClientInterface::sendRequest()" instead.');
$this->assertFalse($failureCallableCalled, 'Failure callable should not be called when request is successful.');
112
104
}
113
105
114
-
/**
115
-
* @group legacy
116
-
*/
117
106
publicfunctiontestPostRequest()
118
107
{
119
-
$this->expectDeprecation('Since symfony/http-client 6.3: The "Symfony\Component\HttpClient\HttplugClient::sendRequest()" method is deprecated, use "Psr\Http\Client\ClientInterface::sendRequest()" instead.');
$this->expectDeprecation('Since symfony/http-client 6.3: The "Symfony\Component\HttpClient\HttplugClient::sendRequest()" method is deprecated, use "Psr\Http\Client\ClientInterface::sendRequest()" instead.');
@@ -168,13 +150,8 @@ public function testAsyncNetworkException()
168
150
$promise->wait(true);
169
151
}
170
152
171
-
/**
172
-
* @group legacy
173
-
*/
174
153
publicfunctiontestRequestException()
175
154
{
176
-
$this->expectDeprecation('Since symfony/http-client 6.3: The "Symfony\Component\HttpClient\HttplugClient::sendRequest()" method is deprecated, use "Psr\Http\Client\ClientInterface::sendRequest()" instead.');
0 commit comments