Commit Graph

239 Commits

Author SHA1 Message Date
Zach Borboa b1f345b2f3 Add test for Curl::setOpt 2016-08-07 22:24:39 -07:00
Zach Borboa bfe89ab8ba Require keyword "elseif" to be used instead of "else if" so that all control keywords look like single words 2016-08-07 15:10:25 -07:00
Zach Borboa a48ec2bfff Check all array values for binary data; Remove JSON_PRETTY_PRINT only supported PHP >= 5.4.0 2016-08-07 01:40:02 -07:00
Zach Borboa a32726bc09 Clean up 2016-08-07 01:37:30 -07:00
Zach Borboa 679ce8e3c4 Fix #345: Allow POSTing multidimensional array with file 2016-08-07 00:04:36 -07:00
Zach Borboa 8285b9ff21 Fix #357: Allow passing json_decode() parameters to Curl::setDefaultJsonDecoder 2016-07-23 01:26:57 -07:00
Zach Borboa 15efc64824 Add test for Curl::setCookieString 2016-07-17 14:42:55 -07:00
Zach Borboa b24b575e58 Make Curl::totalTime a deferred property 2016-07-11 00:17:11 -07:00
Zach Borboa 25d9304672 Add output parameter to MultiCurl::verbose 2016-07-04 11:34:52 -07:00
Zach Borboa 644c59f8bf Increase verbosity when running local tests 2016-03-29 08:11:51 -07:00
Zach Borboa 5c2aa6c663 Remove tabs 2016-03-28 22:19:20 -07:00
Zach Borboa 289aa7f60d Merge branch of git://github.com/thebeline/php-curl-class into thebeline
* 'HelpfulerTravis' of git://github.com/thebeline/php-curl-class:
  Make Travis checks more helpfuler.
2016-03-28 22:17:51 -07:00
Mike Mulligan 1a3f399245 Make Travis checks more helpfuler. 2016-03-28 12:25:58 -04:00
Zach Borboa 3dccf89046 Replace nginx restart with nginx stop, nginx start.
Fix "start: Job is already running: nginx" error. Abbreviated Output:
+sudo /usr/share/hhvm/install_fastcgi.sh
...
Restarting Nginx
Finished restarting Nginx
+sudo /etc/init.d/hhvm restart
 * Restarting HHVM FastCGI Daemon hhvm       +sudo service nginx restart
nginx start/running, process 5311
start: Job is already running: nginx
2016-03-28 03:40:25 -07:00
Cyrille Faucheux dc6001688f Support post-redirect-get requests 2016-03-05 13:45:25 +01:00
Zach Borboa 93d088f62b Replace equal comparison operators with identical comparison operators 2016-02-05 19:59:15 -08:00
Zach Borboa c85e0a0048 Require using identical comparison operators 2016-02-05 19:43:37 -08:00
Zach Borboa 6214b87670 Add test for Curl::getResponseCookies() 2016-02-05 02:52:22 -08:00
Zach Borboa ebca4c2c19 Add MultiCurl::setXmlDecoder 2016-01-31 10:53:32 -08:00
Zach Borboa 8cf2631c54 Fix #295: Allow setting a custom XML decoder 2016-01-31 04:20:26 -08:00
Zach Borboa 04d8aab26e Merge branch 'master' into 170 2016-01-23 12:09:12 -08:00
Zach Borboa ebf406c14a Fix #170: Allow setting MultiCurl callbacks after requests are added 2016-01-23 12:08:33 -08:00
Zach Borboa c4d143f8f1 Skip memory leak test failing for PHP 7 2016-01-22 19:49:59 -08:00
Zach Borboa 4f62b45d5b Add Curl::effectiveUrl 2016-01-18 20:39:52 -08:00
Zach Borboa f58366785c Start built-in web server for php 7.0 continuous integration tests 2016-01-16 02:59:46 -08:00
Zach Borboa 67020c98cc Fix "Array to string conversion/Undefined variable" error in PHP 7 2016-01-16 01:13:22 -08:00
Zach Borboa 1ef006f751 Prohibit screaming caps notation in php files 2015-11-10 17:36:05 -08:00
Zach Borboa 4a78a38238 Clean up 2015-11-10 08:05:14 -08:00
Zach Borboa 81807f1753 Hide built-in web server output when running tests 2015-11-10 08:04:15 -08:00
Zach Borboa 0e2e64734e Prohibit @author in php files 2015-11-10 08:02:54 -08:00
Zach Borboa 60594d5331 Fix #258: Allow sending request data with non-file values prefixed with the @ character 2015-10-27 23:04:32 -07:00
Zach Borboa f0bc858897 Fix #257: Preserve space in cookie delimiter 2015-10-27 21:29:38 -07:00
Maxim Epishchev 443aa73851 Cookie: preserve encode space to '%20' in delimiter, when multiple cookies available 2015-10-27 11:36:47 +03:00
Zach Borboa d69cded020 Fix #254: CaseInsensitiveArray not found. 2015-10-20 21:54:53 -07:00
Zach Borboa 62e9bdf693 Skip test on HHVM due to "Segmentation fault" 2015-10-15 09:56:51 -07:00
Zach Borboa 7430a2a954 Fix #250: Allow specifying a buffer when using Curl::verbose() 2015-10-14 17:49:48 -07:00
Zach Borboa e70228cff9 Fix #248: Close MultiCurl resource only when still open 2015-09-18 01:14:51 -07:00
Zach Borboa 2e10ae416e Fix #240: Make CURLINFO_HEADER_OUT optional.
CURLINFO_HEADER_OUT is true by default, but now optional. When
CURLINFO_HEADER_OUT is not true, requestHeaders will be null.
2015-09-04 09:09:07 -07:00
Zach Borboa 145e7b76b1 Add test for #193 2015-08-27 12:26:56 -07:00
Zach Borboa 3bf046b197 Start built-in web server when running nightly continuous integration tests 2015-08-27 10:27:18 -07:00
Pete Watts 9d03d46290 Fix #234 Fixed PATCH request method to correctly support sending body data. 2015-08-20 12:46:32 +01:00
Pete Watts a7ed5182da Fixed test CurlTest::testUserAgent where PHP_VERSION contains regex special chars (e.g. 5.6.9-0+deb8u1) 2015-08-20 12:38:48 +01:00
Zach Borboa bcad567db9 Fix long lines 2015-08-20 02:37:51 -07:00
Zach Borboa 29afe450f8 Add check to prohibit excessively long lines in php files 2015-08-20 02:37:11 -07:00
Zach Borboa f10ca99e59 Add test for PATCHing a multidimensional array (#205) 2015-08-20 00:44:28 -07:00
Zach Borboa e46dc8146e Fix continuous integration tests for HHVM 2015-08-19 18:07:04 -07:00
Zach Borboa 2df98d1708 Add test for adding Multicurl handles after calling start() 2015-08-19 08:47:50 -07:00
Zach Borboa d7861d8e08 Update HTTP digest authentication tests for MultiCurl 2015-08-11 20:34:27 -07:00
Vladimir Chernyshev e3b09c6654 Update PHPMultiCurlClassTest.php
Add testDigestHttpAuthSuccess
2015-08-11 13:24:09 +03:00
Zach Borboa 8d701b0648 Fix #191: Use $camelCase for properties (class member variables) 2015-07-30 23:54:03 -07:00