diff -Nru php-http-httplug-2.1.0/CHANGELOG.md php-http-httplug-2.2.0/CHANGELOG.md --- php-http-httplug-2.1.0/CHANGELOG.md 2019-12-27 10:07:11.000000000 +0000 +++ php-http-httplug-2.2.0/CHANGELOG.md 2020-07-13 15:43:23.000000000 +0000 @@ -9,6 +9,12 @@ ## [Unreleased] +## [2.2.0] - 2020-07-13 + +### Changed + +- Support PHP 7.1-8.0 + ## [2.1.0] - 2019-12-27 ### Changed diff -Nru php-http-httplug-2.1.0/composer.json php-http-httplug-2.2.0/composer.json --- php-http-httplug-2.1.0/composer.json 2019-12-27 10:07:11.000000000 +0000 +++ php-http-httplug-2.2.0/composer.json 2020-07-13 15:43:23.000000000 +0000 @@ -1,9 +1,12 @@ { "name": "php-http/httplug", "description": "HTTPlug, the HTTP client abstraction for PHP", - "license": "MIT", - "keywords": ["http", "client"], + "keywords": [ + "http", + "client" + ], "homepage": "http://httplug.io", + "license": "MIT", "authors": [ { "name": "Eric GELOEN", @@ -11,18 +14,24 @@ }, { "name": "Márk Sági-Kazár", - "email": "mark.sagikazar@gmail.com" + "email": "mark.sagikazar@gmail.com", + "homepage": "https://sagikazarmark.hu" } ], "require": { - "php": "^7.0", - "psr/http-message": "^1.0", + "php": "^7.1 || ^8.0", + "php-http/promise": "^1.1", "psr/http-client": "^1.0", - "php-http/promise": "^1.0" + "psr/http-message": "^1.0" }, "require-dev": { - "phpspec/phpspec": "^4.3.4|^5.0|^6.0", - "friends-of-phpspec/phpspec-code-coverage" : "^4.1" + "friends-of-phpspec/phpspec-code-coverage": "^4.1", + "phpspec/phpspec": "^5.1 || ^6.0" + }, + "extra": { + "branch-alias": { + "dev-master": "2.x-dev" + } }, "autoload": { "psr-4": { @@ -32,10 +41,5 @@ "scripts": { "test": "vendor/bin/phpspec run", "test-ci": "vendor/bin/phpspec run -c phpspec.ci.yml" - }, - "extra": { - "branch-alias": { - "dev-master": "2.x-dev" - } } } diff -Nru php-http-httplug-2.1.0/debian/changelog php-http-httplug-2.2.0/debian/changelog --- php-http-httplug-2.1.0/debian/changelog 2020-01-01 21:47:49.000000000 +0000 +++ php-http-httplug-2.2.0/debian/changelog 2020-07-16 10:53:46.000000000 +0000 @@ -1,3 +1,18 @@ +php-http-httplug (2.2.0-1) unstable; urgency=medium + + [ Graham Campbell ] + * Support PHP 7.1-8.0 + * Release 2.2.0 + + [ David Prévot ] + * Use secure URI in Homepage field. + * Update standards version to 4.5.0, no changes needed. + * Set Rules-Requires-Root: no. + * Drop versioned dependency satisfied in (old)stable + * Use debhelper-compat 13 + + -- David Prévot Thu, 16 Jul 2020 06:53:46 -0400 + php-http-httplug (2.1.0-1) unstable; urgency=medium [ David Buchmann ] diff -Nru php-http-httplug-2.1.0/debian/control php-http-httplug-2.2.0/debian/control --- php-http-httplug-2.1.0/debian/control 2020-01-01 21:46:14.000000000 +0000 +++ php-http-httplug-2.2.0/debian/control 2020-07-16 10:53:23.000000000 +0000 @@ -3,11 +3,12 @@ Priority: optional Maintainer: Debian PHP PEAR Maintainers Uploaders: David Prévot -Build-Depends: debhelper-compat (= 12), phpab, pkg-php-tools (>= 1.7~) -Standards-Version: 4.4.1 -Homepage: http://httplug.io +Build-Depends: debhelper-compat (= 13), phpab, pkg-php-tools +Standards-Version: 4.5.0 +Homepage: https://httplug.io Vcs-Git: https://salsa.debian.org/php-team/pear/php-http-httplug.git Vcs-Browser: https://salsa.debian.org/php-team/pear/php-http-httplug +Rules-Requires-Root: no Package: php-http-httplug Architecture: all diff -Nru php-http-httplug-2.1.0/README.md php-http-httplug-2.2.0/README.md --- php-http-httplug-2.1.0/README.md 2019-12-27 10:07:11.000000000 +0000 +++ php-http-httplug-2.2.0/README.md 2020-07-13 15:43:23.000000000 +0000 @@ -58,16 +58,6 @@ ``` -## Contributing - -Please see our [contributing guide](http://docs.php-http.org/en/latest/development/contributing.html). - - -## Security - -If you discover any security related issues, please contact us at [security@php-http.org](mailto:security@php-http.org). - - ## License The MIT License (MIT). Please see [License File](LICENSE) for more information. diff -Nru php-http-httplug-2.1.0/src/Exception/HttpException.php php-http-httplug-2.2.0/src/Exception/HttpException.php --- php-http-httplug-2.1.0/src/Exception/HttpException.php 2019-12-27 10:07:11.000000000 +0000 +++ php-http-httplug-2.2.0/src/Exception/HttpException.php 2020-07-13 15:43:23.000000000 +0000 @@ -20,10 +20,7 @@ protected $response; /** - * @param string $message - * @param RequestInterface $request - * @param ResponseInterface $response - * @param \Exception|null $previous + * @param string $message */ public function __construct( $message, diff -Nru php-http-httplug-2.1.0/src/Exception/NetworkException.php php-http-httplug-2.2.0/src/Exception/NetworkException.php --- php-http-httplug-2.1.0/src/Exception/NetworkException.php 2019-12-27 10:07:11.000000000 +0000 +++ php-http-httplug-2.2.0/src/Exception/NetworkException.php 2020-07-13 15:43:23.000000000 +0000 @@ -2,8 +2,8 @@ namespace Http\Client\Exception; -use Psr\Http\Message\RequestInterface; use Psr\Http\Client\NetworkExceptionInterface as PsrNetworkException; +use Psr\Http\Message\RequestInterface; /** * Thrown when the request cannot be completed because of network issues. @@ -17,9 +17,7 @@ use RequestAwareTrait; /** - * @param string $message - * @param RequestInterface $request - * @param \Exception|null $previous + * @param string $message */ public function __construct($message, RequestInterface $request, \Exception $previous = null) { diff -Nru php-http-httplug-2.1.0/src/Exception/RequestException.php php-http-httplug-2.2.0/src/Exception/RequestException.php --- php-http-httplug-2.1.0/src/Exception/RequestException.php 2019-12-27 10:07:11.000000000 +0000 +++ php-http-httplug-2.2.0/src/Exception/RequestException.php 2020-07-13 15:43:23.000000000 +0000 @@ -2,8 +2,8 @@ namespace Http\Client\Exception; -use Psr\Http\Message\RequestInterface; use Psr\Http\Client\RequestExceptionInterface as PsrRequestException; +use Psr\Http\Message\RequestInterface; /** * Exception for when a request failed, providing access to the failed request. @@ -18,9 +18,7 @@ use RequestAwareTrait; /** - * @param string $message - * @param RequestInterface $request - * @param \Exception|null $previous + * @param string $message */ public function __construct($message, RequestInterface $request, \Exception $previous = null) { diff -Nru php-http-httplug-2.1.0/src/HttpAsyncClient.php php-http-httplug-2.2.0/src/HttpAsyncClient.php --- php-http-httplug-2.1.0/src/HttpAsyncClient.php 2019-12-27 10:07:11.000000000 +0000 +++ php-http-httplug-2.2.0/src/HttpAsyncClient.php 2020-07-13 15:43:23.000000000 +0000 @@ -17,7 +17,7 @@ * * Exceptions related to processing the request are available from the returned Promise. * - * @return Promise Resolves a PSR-7 Response or fails with an Http\Client\Exception. + * @return Promise resolves a PSR-7 Response or fails with an Http\Client\Exception * * @throws \Exception If processing the request is impossible (eg. bad configuration). */ diff -Nru php-http-httplug-2.1.0/src/Promise/HttpFulfilledPromise.php php-http-httplug-2.2.0/src/Promise/HttpFulfilledPromise.php --- php-http-httplug-2.1.0/src/Promise/HttpFulfilledPromise.php 2019-12-27 10:07:11.000000000 +0000 +++ php-http-httplug-2.2.0/src/Promise/HttpFulfilledPromise.php 2020-07-13 15:43:23.000000000 +0000 @@ -13,9 +13,6 @@ */ private $response; - /** - * @param ResponseInterface $response - */ public function __construct(ResponseInterface $response) { $this->response = $response; diff -Nru php-http-httplug-2.1.0/src/Promise/HttpRejectedPromise.php php-http-httplug-2.2.0/src/Promise/HttpRejectedPromise.php --- php-http-httplug-2.1.0/src/Promise/HttpRejectedPromise.php 2019-12-27 10:07:11.000000000 +0000 +++ php-http-httplug-2.2.0/src/Promise/HttpRejectedPromise.php 2020-07-13 15:43:23.000000000 +0000 @@ -12,9 +12,6 @@ */ private $exception; - /** - * @param Exception $exception - */ public function __construct(Exception $exception) { $this->exception = $exception;