Zach Borboa
8f5a4604ec
Fix tar extract error due to HTTP redirect
2020-05-18 22:22:45 -07:00
Zach Borboa
25c37e8512
Fix missing rsync error: "sh: 2: rsync: not found"
2020-05-18 22:18:37 -07:00
Zach Borboa
f4c41cb4b7
Add scripts for attaching to running container
2020-05-18 22:16:57 -07:00
Zach Borboa
14317ca210
Fix error: "the input device is not a TTY"
2020-05-18 18:58:43 -07:00
Zach Borboa
877e5b1275
Display error message indicating why execution of tests stopped
2020-05-17 21:04:54 -07:00
Zach Borboa
be8cccc292
Stop execution of tests when a container step fails
2020-05-17 20:10:43 -07:00
Zach Borboa
cec296410a
Clean up
2020-05-17 18:53:13 -07:00
Zach Borboa
17c0697a4d
Update link to continuous integration
2020-05-17 15:32:39 -07:00
Zach Borboa
85c95b187c
Add rate limit test cases using uppercase letters for unit
2020-05-16 23:53:29 -07:00
Zach Borboa
b33bfb93ef
Clean up
2020-05-16 23:51:23 -07:00
Zach Borboa
f5bc12ac56
Add example for using rate limiter via MultiCurl::setRateLimit()
2020-05-16 23:45:59 -07:00
Zach Borboa
c4dfe8d6db
Add files to run php74 tests inside a docker container
2020-05-16 23:17:02 -07:00
Zach Borboa
f850bc73b7
Merge pull request #639 from zachborboa/ratelimiter
...
Implement request rate limiter
2020-05-16 22:40:00 -07:00
Zach Borboa
976008d094
Implement rate limiting requests via MultiCurl::setRateLimit()
2020-05-16 22:01:15 -07:00
Zach Borboa
9c00119ab5
Improve accuracy of timeout call by using microtime()
2020-05-12 22:41:02 -07:00
Zach Borboa
76ae1241cb
Return a json response when calling the timeout test
2020-05-12 10:37:49 -07:00
Zach Borboa
138c0e4d1b
Merge pull request #638 from zachborboa/disabletimeout
...
Implement disableTimeout()
2020-05-09 09:36:17 -07:00
Zach Borboa
ab407d6b25
Implement disableTimeout()
...
Implement Curl::disableTimeout() and MultiCurl::disableTimeout()
2020-05-09 09:19:35 -07:00
Zach Borboa
95f1386da5
Suggest printing some information when troubleshooting
2020-05-01 07:57:02 -07:00
Zach Borboa
1725c8a992
Merge pull request #632 from zachborboa/625
...
Update Url class to handle IPv6 addresses with bracket notation
2020-04-22 22:50:45 -07:00
Zach Borboa
75c9fc144b
Fix #625 : Update Url class to handle IPv6 addresses with bracket notation.
2020-04-22 22:18:47 -07:00
Zach Borboa
1f62ac4428
Fix #606 : Add example for fetching range using Curl::setRange()
2020-04-20 23:03:27 -07:00
Zach Borboa
180273b577
Bump version: 8.7.0 → 8.8.0
8.8.0
2020-04-19 20:39:57 -07:00
Zach Borboa
c78d271b29
Fix #626 : Add MultiCurl example for retrying with a new proxy
2020-04-18 10:40:25 -07:00
Zach Borboa
ea66e3bfb9
Standardize the use import statements
2020-04-17 18:47:59 -07:00
Zach Borboa
2c6d228f58
Use vendor phpunit when available
2020-04-11 12:19:12 -07:00
Zach Borboa
85c9a1a5e9
Clean up
2020-04-10 19:31:28 -07:00
harry
09006e0e26
Implement setInterface()
...
Implement Curl::setInterface() and MultiCurl::setInterface()
2020-04-10 12:02:41 +05:30
Zach Borboa
73ec46ed20
Bump version: 8.6.1 → 8.7.0
8.7.0
2020-02-28 21:02:55 -08:00
Zach Borboa
1b86b63f12
Merge pull request #623 from zachborboa/621
...
Fix use of undefined constant STDERR
2020-02-21 08:37:55 -08:00
Zach Borboa
7c93a1b746
Fix use of undefined constant STDERR under certain conditions.
...
Error message:
Use of undefined constant STDERR - assumed 'STDERR' (this will throw
an Error in a future version of PHP)
2020-02-21 08:19:55 -08:00
Zach Borboa
db99d69aac
Update readme
2020-02-19 20:03:30 -08:00
Zach Borboa
f57d5f7908
Add PHP 7.4 to list of compatible versions
2020-02-19 19:45:12 -08:00
Zach Borboa
cbe9ab7d56
Merge pull request #617 from zachborboa/php74
...
Add PHP 7.4 to continuous integration tests
2020-02-19 18:34:09 -08:00
Zach Borboa
c58b8be799
Run test server for PHP 7.4 continuous integration tests
2020-02-19 17:28:57 -08:00
Zach Borboa
9d46178d97
Use Xenial for gd support.
...
Error message:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested PHP extension ext-gd * is missing from your system. Install or enable PHP's gd extension.
2020-02-19 17:26:17 -08:00
Zach Borboa
8a43e9a09f
Add PHP 7.4 to continuous integration tests
2020-02-19 17:25:48 -08:00
Zach Borboa
aa7bffa4b2
Merge pull request #620 from zachborboa/619
...
Fix continuous integration tests for PHP 7.3.
2020-02-17 16:17:30 -08:00
Zach Borboa
8b15ec5b43
Fix continuous integration tests for PHP 5.3.
...
Error message:
PHP Fatal error: Call to undefined method CurlTest\CurlTest::assertStringContainsString() in [...]
2020-02-17 16:08:23 -08:00
Zach Borboa
7340e8ede3
Fix continuous integration tests for PHP 5.3.
...
Error message:
Parse error: syntax error, unexpected T_CLASS, expecting T_STRING or T_VARIABLE or '$' in [...]
2020-02-17 16:02:40 -08:00
Zach Borboa
947848bd2a
Fix continuous integration tests for PHP 7.0.
...
There was 1 error:
1) CurlTest\CurlTest::testMultipartFormDataContentType
Error: Call to undefined method CurlTest\CurlTest::assertStringContainsString()
./tests/PHPCurlClass/PHPCurlClassTest.php:590
There was 1 failure:
1) CurlTest\CurlTest::testRequiredOptionCurlOptReturnTransferEmitsWarning
Failed asserting that exception of type "Error" matches expected exception "\PHPUnit\Framework\Error\Warning".
Message was: "Call to undefined method CurlTest\CurlTest::expectWarning()" at
./tests/PHPCurlClass/PHPCurlClassTest.php:3036
2020-02-17 15:28:31 -08:00
Zach Borboa
702e4a13ea
Fix continuous integration tests for PHP 7.1.
...
There was 1 failure:
1) CurlTest\CurlTest::testRequiredOptionCurlOptReturnTransferEmitsWarning
Failed asserting that exception of type "Error" matches expected exception "\PHPUnit\Framework\Error\Warning".
Message was: "Call to undefined method CurlTest\CurlTest::expectWarning()" at
./tests/PHPCurlClass/PHPCurlClassTest.php:3036
2020-02-17 14:44:45 -08:00
Zach Borboa
2fd406a500
Fix continuous integration tests for PHP 7.3.
...
There were 3 errors:
1) CurlTest\CurlTest::testMultipartFormDataContentType
TypeError: Argument 2 passed to PHPUnit\Framework\Assert::assertContains() must be iterable, string given, [...]
2) CurlTest\CurlTest::testJsonEncode
ErrorException: json_encode error: Malformed UTF-8 characters, possibly incorrectly encoded
3) CurlTest\CurlTest::testRequiredOptionCurlOptReturnTransferEmitsWarning
CURLOPT_RETURNTRANSFER is a required option
2020-02-17 13:34:53 -08:00
Zach Borboa
fa3cfd37d5
Merge pull request #615 from zachborboa/pr608
...
Implement Curl::setRange() and MultiCurl::setRange()
2020-01-14 21:09:12 -08:00
Zach Borboa
cf9ab59780
Use setFile()
2020-01-14 21:01:04 -08:00
Zach Borboa
15a6a4dd98
Use setRange()
2020-01-14 20:58:42 -08:00
Zach Borboa
82c0880ab5
Clean up
2020-01-14 20:56:42 -08:00
Zach Borboa
a020585a73
Fix #608 : Implement Curl::setRange() and MultiCurl::setRange()
2020-01-14 20:55:41 -08:00
Zach Borboa
9fde3ff1e9
Merge pull request #614 from zachborboa/pr609
...
Implement Curl::setFile() and MultiCurl::setFile()
2020-01-14 20:46:42 -08:00
Zach Borboa
1d0f6cfc84
Fix #609 : Implement Curl::setFile() and MultiCurl::setFile()
2020-01-14 20:36:19 -08:00