Dane Westvik
cd08b5dee7
Support for urls with query parameters
2017-08-24 13:36:23 -07:00
Zach Borboa
3f4e0fc49e
Fix sniff violation
2017-08-06 13:52:27 -07:00
Zach Borboa
a4cf524119
Fix #459 : Add example with json response as associative array
2017-07-30 14:27:20 -07:00
Zach Borboa
79e57a7341
Merge pull request #458 from Philipp91/patch-1
...
Let all main request methods return `mixed`
2017-07-07 18:26:57 -07:00
Philipp Keck
9dada41203
Let all main request methods return mixed
...
Many of them have `string`, but that's not what `exec()` returns and at least when a response parser is used, the returned value is not a string, which confuses tools like type checkers.
2017-07-07 22:01:14 +02:00
Zach Borboa
c91a64674f
Fix #277 : Run Digest Access Authentication test on HHVM builds
2017-07-03 02:23:27 -07:00
Zach Borboa
95041d6c49
Run Digest Access Authentication test on HHVM
2017-07-03 01:59:27 -07:00
Zach Borboa
a0391a9167
Merge pull request #376 from zachborboa/trusty
...
Use Trusty Tahr for continuous integration tests
2017-07-03 01:52:48 -07:00
Zach Borboa
3616efd3db
Use Trusty for all builds except PHP 5.3
...
PHP 5.2 and PHP 5.3 are not supported on Travis CI:
"If you need PHP 5.2 or 5.3, please use Precise."
2017-07-03 01:29:56 -07:00
Zach Borboa
770fa159eb
Use Trusty Tahr for all continuous integration tests
2017-07-03 01:17:46 -07:00
Zach Borboa
54d62769ef
Merge pull request #450 from zachborboa/master
...
Fix hhvm build failing by running hhvm tests on Trusty
2017-07-02 02:12:05 -07:00
Zach Borboa
51aef1d3d6
Fix #449 : Fix hhvm builds failing.
...
Install latest nginx.
Replace install_fastcgi.sh which inserts "include hhvm.conf;" with inline configuration.
Copy server scripts to default nginx root instead of modifying folder and file permissions to fix nginx 404 File Not Found.
2017-07-02 01:52:46 -07:00
Zach Borboa
1e3ed2963c
Use composer's phpunit and phpcs
2017-06-29 06:28:10 -07:00
Zach Borboa
3302e7bb78
Use an older version of PHPUnit for HHVM builds
2017-06-29 05:28:32 -07:00
Zach Borboa
d04f0594e1
Add descriptive error messages when checks fail
2017-06-29 05:28:00 -07:00
Zach Borboa
c16ce49f4f
Add hhvm-nightly build and use trusty for hhvm builds
2017-06-28 04:43:48 -07:00
Zach Borboa
6d0fc0453b
Merge pull request #455 from zachborboa/rm-symlink
...
Remove vendor dir symlink causing issues
2017-06-28 04:16:28 -07:00
Zach Borboa
3736a07e3f
Fix #454 , #279 : Remove vendor dir symlink causing issues
2017-06-28 03:59:11 -07:00
Zach Borboa
0dcf0230ef
Bump patch version
7.3.1
2017-06-27 16:57:16 -07:00
Zach Borboa
b1e150eada
Merge pull request #453 from zachborboa/fix-430
...
Fix #430 : Close open file handle before renaming file affecting Windows
2017-06-27 02:23:06 -07:00
Zach Borboa
e28baa9edf
Temporarily allow hhvm continuous integration tests to fail
2017-06-27 02:10:40 -07:00
Zach Borboa
b4d20d0f28
Fix #430 : Close open file handle before renaming file affecting Windows
2017-06-27 01:59:26 -07:00
Zach Borboa
3b672a2131
Put expected arguments first
2017-05-02 23:31:43 -07:00
Zach Borboa
6ed21b45d5
Merge pull request #448 from zachborboa/master
...
Add PSR-2 coding style checks to continuous integration tests
2017-05-02 19:09:43 -07:00
Zach Borboa
6bed5fb0bf
Fix #129 : Add PSR-2 coding style checks to continuous integration tests
2017-05-02 18:51:52 -07:00
Zach Borboa
eeaf3f9534
Clean up PSR-2 coding styles
2017-05-02 07:56:45 -07:00
Zach Borboa
4679e9679f
Merge pull request #447 from zachborboa/master
...
Combine common cookie encoding
2017-05-01 02:34:59 -07:00
Zach Borboa
a0802b309d
Clean up
2017-05-01 02:02:40 -07:00
Zach Borboa
bcde6d9a54
Fix #265 : Combine common cookie encoding into Curl::setEncodedCookie() and Curl::buildCookies().
2017-05-01 01:48:13 -07:00
Zach Borboa
66d0afcb48
Bump minor version
7.3.0
2017-05-01 01:11:43 -07:00
Zach Borboa
0c675a8b7a
Merge pull request #446 from zachborboa/master
...
Clean up namespacing
2017-05-01 01:03:09 -07:00
Zach Borboa
316e18d52f
Fix exception namespace
2017-05-01 00:44:11 -07:00
Zach Borboa
ddac122a48
Fix php shim namespace
2017-05-01 00:20:53 -07:00
Zach Borboa
2264362338
Clean up namespacing
2017-04-30 15:58:33 -07:00
Zach Borboa
b754ebf065
Add Coinbase ETH spot price example
2017-04-30 13:29:12 -07:00
Zach Borboa
a97721c8ea
Add memory leak test examples
2017-04-30 13:19:59 -07:00
Zach Borboa
b760961085
Merge pull request #445 from zachborboa/master
...
Fix memory leaks
2017-04-30 04:17:00 -07:00
Zach Borboa
8a374aa191
Update tests to run assertions before instances are cleaned up and properties are null.
2017-04-30 03:52:59 -07:00
Zach Borboa
d21a7dcc8b
Clean up completed multi curl instance to fix memory leak
2017-04-30 03:10:24 -07:00
Zach Borboa
d214d6b767
Use temporary placeholder to store header callback data and avoid memory leak.
2017-04-30 02:52:45 -07:00
Zach Borboa
13ef3e4ef9
Reduce number of ops
2017-04-29 11:25:19 -07:00
Zach Borboa
e0a6112375
Reduce number of ops
2017-04-29 11:21:28 -07:00
Zach Borboa
8ee986c563
Merge pull request #444 from zachborboa/master
...
Allow the disabling of automatic response decoding
2017-04-29 03:53:49 -07:00
Zach Borboa
fb1f36da16
Fix syntax error for PHP 5.3 and PHP 5.4.
...
Fixes "PHP Parse error: syntax error, unexpected T_CLASS, expecting T_STRING or T_VARIABLE or '$' in XXX on line XXX".
2017-04-29 03:29:24 -07:00
Zach Borboa
efbcc080bb
Allow the disabling of automatic response decoding.
...
The following will disable their respective decoders:
$curl->setDefaultDecoder(false);
$curl->setJsonDecoder(false);
$curl->setXmlDecoder(false);
2017-04-29 02:54:35 -07:00
Zach Borboa
5706ad7723
Fix here-document warning.
...
Fixes "warning: here-document at line XX delimited by end-of-file (wanted `EOF')".
2017-04-29 00:27:12 -07:00
Zach Borboa
323bfc37b9
Merge pull request #443 from zachborboa/master
...
Remove use of anonymous functions for json decoder and xml decoder
2017-04-28 01:30:52 -07:00
Zach Borboa
38f6825aa2
Replace variable function calls with call_user_func().
...
Fixes "Call to undefined function \Curl\Decoder::decodeXml()" in PHP
5.3, 5.4, 5.5, 5.6, hhvm.
2017-04-28 00:40:00 -07:00
Zach Borboa
97319a51f8
Move decoder functions to separate class file
2017-04-27 23:51:21 -07:00
Zach Borboa
a6e94ae8bd
Remove use of anonymous functions for json decoder and xml decoder
2017-04-27 02:41:45 -07:00