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:
commit
cbb47888f5
@ -4,7 +4,10 @@ addons:
|
|||||||
- libcurl4-openssl-dev
|
- libcurl4-openssl-dev
|
||||||
|
|
||||||
language: php
|
language: php
|
||||||
|
dist: focal
|
||||||
php:
|
php:
|
||||||
|
- 8.1.0
|
||||||
|
- 8.0
|
||||||
- 7.4
|
- 7.4
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
|
@ -263,7 +263,7 @@ class Api
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$query = \GuzzleHttp\Psr7\build_query($query);
|
$query = \GuzzleHttp\Psr7\Query::build($query);
|
||||||
|
|
||||||
$url = $request->getUri()->withQuery($query);
|
$url = $request->getUri()->withQuery($query);
|
||||||
$request = $request->withUri($url);
|
$request = $request->withUri($url);
|
||||||
|
Loading…
Reference in New Issue
Block a user