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
* 5.4:
[HttpClient] Various cleanups after recent changes
do not add child nodes to EmptyNode instances
consider write property visibility to decide whether a property is writable
add comment explaining why HttpClient tests are run separately
@@ -295,6 +305,9 @@ public static function stream(iterable $responses, ?float $timeout = null, ?stri
295
305
}
296
306
}
297
307
308
+
if (null === $chunk) {
309
+
thrownew \LogicException(\sprintf('"%s" is not compliant with HttpClientInterface: its "stream()" method didn\'t yield any chunks when it should have.', get_debug_type($client)));
310
+
}
298
311
if (null === $chunk->getError() && $chunk->isLast()) {
$this->expectExceptionMessage('Argument 2 passed to "Symfony\Component\HttpClient\NoPrivateNetworkHttpClient::__construct()" must be of the type array, string or null. "int" given.');
0 commit comments