From 0bfca7b31853a0fdbedb05142cf1d3cdc4e4f69a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Germain=20Carr=C3=A9?= Date: Sat, 29 Jan 2022 05:03:07 +0100 Subject: [PATCH 1/2] Switching Guzzle build_query to Query::build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit After Guzzle 7.2, GuzzleHttp\Psr7\build_query has been replaced by GuzzleHttp\Psr7\Query::build cf https://github.com/guzzle/guzzle/pull/2712 & https://github.com/guzzle/psr7/pull/345 Signed-off-by: Germain Carré git@germain.sh --- src/Api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Api.php b/src/Api.php index 0286b98..c5ec8e6 100644 --- a/src/Api.php +++ b/src/Api.php @@ -263,7 +263,7 @@ class Api } } - $query = \GuzzleHttp\Psr7\build_query($query); + $query = \GuzzleHttp\Psr7\Query::build($query); $url = $request->getUri()->withQuery($query); $request = $request->withUri($url); From 94fd5e0aedcb6f319a7adac983fcfb9ea7fc127b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Germain=20Carr=C3=A9?= Date: Sat, 29 Jan 2022 05:26:00 +0100 Subject: [PATCH 2/2] Adding PHP 8.0 & 8.1 in travis build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Germain Carré git@germain.sh --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index fbad42e..e438a90 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,10 @@ addons: - libcurl4-openssl-dev language: php +dist: focal php: + - 8.1.0 + - 8.0 - 7.4 before_script: