Yii2 HTTP Client 2.0.17

Yii2 HTTP Client version 2.0.17 was released. In this version:

  • Fixed TypeError: stream_get_contents(): Argument #1 ($stream) must be of type resource, bool given when PHP error reporting is turned off.
  • Fixed the PHP 8.5 deprecation for the predefined locally scoped $http_response_header variable.
  • Fixed curl_close() and curl_multi_close() deprecations in PHP 8.5.
  • Fixed PHPDoc annotations for Response::$statusCode and Response::getStatusCode().
  • Added additional keys to Message::getHeaders() to expose full HTTP status line details through Client::getHeaders().
  • Applied Yii2 coding standards.
  • Raised the minimum PHP version to 7.4.