- Fixes typo in
assertBody()
. Thanks @pmcneill
- Added
assertTotalTimeLessThan()
assertion. Thanks @dvhirt
- Updated
ca-bundle.crt
to the latest version.
- Fixed bug in Curl.php. It was always setting CURLOPT_POST to false, which would not send POST requests.
- Composer support
- PSR-4 compliant
- Refactored/renamed using camelCase
- Fixed examples. Freegeoip.net renamed response property
areacode
toarea_code
.
- Fixed serious bug in Curl.php. Was not setting curl option
CURLOPT_CUSTOMREQUEST
back toGET
andPOST
inget_request()
andpost_request()
.
- Fixed serious bug in Curl.php. Was not setting curl option
CURLOPT_POST
back tofalse
inget_request()
.
- Added a special flag
IS_EMPTY
which can be passed intoassertBody()
to assert an empty response body.