Yii2 HTTPCLIENT version 2.0.17 was released. In this version:
- Fixed
TypeError: stream_get_contents(): Argument #1 ($stream) must be of type resource, bool givenwhen PHP error reporting is turned off. - Fixed the PHP 8.5 deprecation for the predefined locally scoped
$http_response_headervariable. - Fixed
curl_close()andcurl_multi_close()deprecations in PHP 8.5. - Fixed PHPDoc annotations for
Response::$statusCodeandResponse::getStatusCode(). - Added additional keys to
Message::getHeaders()to expose full HTTP status line details throughClient::getHeaders(). - Applied Yii2 coding standards.
- Raised the minimum PHP version to 7.4.