Skip to content

Commit

Permalink
Php8 fix (#61)
Browse files Browse the repository at this point in the history
* Workaround for mock quirks

Updated CurlClient.php. CURLOPT_POSTFIELDS will always contain {} instead of [] for empty json objects. Also uncommented several tests that now work after this update.

* Enable PHP8 support

Co-authored-by: d-telnyx <68876596+d-telnyx@users.noreply.github.com>
  • Loading branch information
weroh and d-telnyx authored May 4, 2021
1 parent e783fca commit 9cc867b
Show file tree
Hide file tree
Showing 2 changed files with 162 additions and 166 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
}
],
"require": {
"php": "^5.6 || ^7.0",
"php": ">=5.6.0",
"ext-curl": "*",
"ext-json": "*",
"ext-mbstring": "*",
Expand Down
Loading

0 comments on commit 9cc867b

Please sign in to comment.