Commit Graph

1422 Commits

Author SHA1 Message Date
Zach Borboa 73dfde67e2 Modernize type casting 2021-07-25 23:53:32 -04:00
Zach Borboa 1ac43b2972 Use strict parameters 2021-07-25 23:49:30 -04:00
Zach Borboa 98a18bc086 Use strict comparison 2021-07-25 23:45:52 -04:00
Zach Borboa daa8bf2aea Use library method in example 2021-07-23 22:07:40 -04:00
Zach Borboa 52a92d71a2 Bump version: 9.2.0 → 9.3.0 9.3.0 2021-07-23 21:56:47 -04:00
Zach Borboa 23d80e48f5 Update changelog 2021-07-23 21:56:16 -04:00
Zach Borboa 038c015f2c Update diagnostic output wording 2021-07-21 10:47:18 -04:00
Zach Borboa 1226bb1a6c Implement option to capture output of Curl::diagnose() 2021-07-20 23:28:20 -04:00
Zach Borboa 7348de72f3 Clean up 2021-07-20 23:10:20 -04:00
Zach Borboa 18e76855c2 Fix assertion 2021-07-20 23:01:40 -04:00
Zach Borboa a9592df07a Add example showing Curl::diagnose() usage 2021-07-20 22:32:51 -04:00
Zach Borboa 3b51359268 Add additional request details in Curl::diagnose() 2021-07-20 22:22:15 -04:00
Zach Borboa b1faf1e4a0 Fix typos 2021-07-20 22:17:42 -04:00
Zach Borboa 2a899465c4 Add method to run basic request diagnostics 2021-07-18 21:56:03 -04:00
Zach Borboa 81e27c6d21 Suggest printing instance information when troubleshooting 2021-07-18 19:01:58 -04:00
Zach Borboa 8b73ad5b35 Update changelog 9.2.0 2021-06-23 10:50:09 -04:00
Zach Borboa c3b0559eb6 Bump version: 9.1.0 → 9.2.0 2021-06-23 10:40:19 -04:00
Zach Borboa d295be6e5e Merge pull request #674 from zachborboa/master
Add additional Curl::set* and MultiCurl::set* helper methods
2021-06-17 11:54:46 -04:00
Zach Borboa 250421927f Add additional Curl::set* and MultiCurl::set* helper methods 2021-06-17 11:14:29 -04:00
Zach Borboa 47bd611647 Fix typo 2021-06-17 10:24:08 -04:00
Zach Borboa 7646101e15 Fix badge showing incorrect latest release version
Display the correct latest release version by modifying the image url
query string to specify semantic version sorting. Without this sorting,
releasing 8.9.2, 9.0.0, 9.1.0, and then 8.9.3 would cause version 8.9.3
to incorrectly appear as the current latest release.
2021-06-12 22:27:45 -04:00
Zach Borboa b06af57cb3 Clean up 2021-06-11 08:24:40 -04:00
Zach Borboa 919566db1f Merge pull request #672 from zachborboa/master
Unify the ci and run scripts
2021-06-11 07:21:49 -04:00
Zach Borboa 8d62a97719 Unify continuous integration and run scripts more closely 2021-06-11 00:19:33 -04:00
Zach Borboa b6fdee5360 Run continuous integration on the legacy branch
Run the continuous integration tests of the currently-supported PHP
versions on the legacy branch. This will not test php5.x-master branch
changes under PHP v5.x environments, but may help minimize introducing
bugs in the legacy branch.
2021-06-10 10:44:34 -04:00
Zach Borboa 380982de56 Merge pull request #671 from ginnerpeace/patch-1
Fix use '$this' in non-object context
2021-06-09 23:30:19 -04:00
ginnerpeace 8be46834c6 Fix use '$this' in non-object context
The pseudo-variable $this is not available inside methods declared as static.
2021-06-10 11:05:37 +08:00
Zach Borboa 2c5fe57d60 Fix missing rsync error: "sh: 2: rsync: not found" 2021-06-09 21:38:21 -04:00
Zach Borboa fe829855cb Fix #670: Add additional checks before attempting to close curl handles 2021-06-09 20:58:33 -04:00
Zach Borboa 1f96291b04 Run test script when testing inside containers 2021-06-09 20:25:47 -04:00
Zach Borboa 69cab62ba3 Fix badges showing incorrect latest release version
Display the correct latest release version by modifying the image url
query string to specify semantic version sorting. Without this sorting,
releasing 8.9.2, 9.0.0, 9.1.0, and then 8.9.3 would cause version 8.9.3
to incorrectly appear as the current latest release.
2021-05-02 00:14:11 -04:00
Zach Borboa feca86813d Update urls used in examples 2021-04-03 09:24:19 -04:00
Zach Borboa 22eb9340e6 Merge pull request #665 from zachborboa/master
Housekeeping
2021-03-29 10:42:37 -04:00
Zach Borboa 3305e9c0b1 Rename continuous integration script 2021-03-29 10:08:46 -04:00
Zach Borboa a315b541be Consolidate continuous integration scripts
Merge before_script.sh into script.sh
2021-03-29 09:59:19 -04:00
Zach Borboa 64df98c50f Match number of servers started 2021-03-28 23:44:25 -04:00
Zach Borboa 3a095e7780 Remove version check as all tested versions use the built-in development server 2021-03-28 23:14:29 -04:00
Zach Borboa 56981458c0 Clean up html tags 2021-03-28 23:10:03 -04:00
Zach Borboa 23e072c04b Add link to buymeacoffee 2021-03-26 21:12:17 -04:00
Zach Borboa e543cf1cde Merge pull request #664 from zachborboa/master
Remove environmental variable no longer needed
2021-03-26 09:16:10 -04:00
Zach Borboa 0031da7477 Remove environmental variable no longer needed
All the tests now make use of PHP's built-in web server and the variable
is no longer needed to determine if the development server is being
used.
2021-03-26 00:03:46 -04:00
Zach Borboa 2e63c0d00a Bump version: 9.0.0 → 9.1.0 9.1.0 2021-03-24 21:19:16 -04:00
Zach Borboa 034b483c47 Move PHPUnit shims to test script 2021-03-24 08:41:30 -04:00
Zach Borboa 5d3e80aeeb Fix path to PHPUnit binary 2021-03-24 01:27:07 -04:00
Zach Borboa b1f05c117a Clean up 2021-03-24 01:23:05 -04:00
Zach Borboa 0194365f71 Fix MultiCurl base url being overwritten by the most recently set url
Previously, when using MultiCurl and updating the url after instances
have already been initialized, the most recently specified base url
would be used for the requests. This change fixes using relative urls
with MultiCurl::add* methods and allows instance-specific base urls to
be used.
2021-03-23 23:56:29 -04:00
Zach Borboa 922ff9bdc8 Fix tests running with older versions of PHPUnit 2021-03-23 23:08:08 -04:00
Zach Borboa e1ff6e870d Add import 2021-03-23 11:21:39 -04:00
Zach Borboa 06ca377f64 Add support for using relative urls with MultiCurl::add*() methods
This change allows setting a base url with MultiCurl and adding requests
using relative paths.

Fixes #628.
2021-03-23 11:03:39 -04:00
Zach Borboa b88fd76ffc Move Curl::buildUrl() to Url::buildUrl() 2021-03-23 10:02:11 -04:00