Skip to content

Commit

Permalink
Merge pull request #116 from carsso/master
Browse files Browse the repository at this point in the history
Switching Guzzle build_query to Query::build & Adding PHP 8.x in travis build
  • Loading branch information
rbeuque74 authored Aug 1, 2022
2 parents 75852ad + 94fd5e0 commit cbb4788
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ addons:
- libcurl4-openssl-dev

language: php
dist: focal
php:
- 8.1.0
- 8.0
- 7.4

before_script:
Expand Down
2 changes: 1 addition & 1 deletion src/Api.php
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ protected function rawCall($method, $path, $content = null, $is_authenticated =
}
}

$query = \GuzzleHttp\Psr7\build_query($query);
$query = \GuzzleHttp\Psr7\Query::build($query);

$url = $request->getUri()->withQuery($query);
$request = $request->withUri($url);
Expand Down

0 comments on commit cbb4788

Please sign in to comment.