1
0
mirror of https://github.com/ovh/php-ovh.git synced 2023-11-05 03:20:26 +01:00

Merge pull request #116 from carsso/master

Switching Guzzle build_query to Query::build & Adding PHP 8.x in travis build
This commit is contained in:
Romain Beuque 2022-08-01 19:07:18 +02:00 committed by GitHub
commit cbb47888f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -4,7 +4,10 @@ addons:
- libcurl4-openssl-dev
language: php
dist: focal
php:
- 8.1.0
- 8.0
- 7.4
before_script:

View File

@ -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);