Skip to content

Commit cbb4788

Browse files
authored
Merge pull request #116 from carsso/master
Switching Guzzle build_query to Query::build & Adding PHP 8.x in travis build
2 parents 75852ad + 94fd5e0 commit cbb4788

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ addons:
44
- libcurl4-openssl-dev
55

66
language: php
7+
dist: focal
78
php:
9+
- 8.1.0
10+
- 8.0
811
- 7.4
912

1013
before_script:

src/Api.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ protected function rawCall($method, $path, $content = null, $is_authenticated =
263263
}
264264
}
265265

266-
$query = \GuzzleHttp\Psr7\build_query($query);
266+
$query = \GuzzleHttp\Psr7\Query::build($query);
267267

268268
$url = $request->getUri()->withQuery($query);
269269
$request = $request->withUri($url);

0 commit comments

Comments
 (0)