500 Commits

Author SHA1 Message Date
Zach Borboa 92a8f3bbe2 Fix #686: Build url without using data parameter 2021-11-20 23:43:44 -05:00
Zach Borboa 2973f50df8 Determine request method using helper method 2021-11-20 23:13:10 -05:00
Zach Borboa 3d9acedb66 Correct the post/redirect/get logic when using MultiCurl::addPost() 2021-11-20 22:17:32 -05:00
Zach Borboa 0c8eab3083 Fix empty request headers value 2021-11-20 15:43:36 -05:00
Zach Borboa bd85374938 Add PHPCompatibility ruleset to coding standards check 2021-09-21 15:28:48 -04:00
Zach Borboa a4d91d28ba Run check coding standard commands from the project root directory 2021-09-21 15:21:21 -04:00
Zach Borboa 5c0a351e41 Unify continuous integration and run scripts more closely 2021-09-21 10:42:56 -04:00
Zach Borboa a4f4223b98 Implement Curl::setStop() for stopping requests early
Use Curl::setStop() to stop requests early without downloading
the full response.
2021-09-15 05:49:25 -04:00
Zach Borboa a8714527e6 Increase tolerance of request start time 2021-08-19 20:18:04 -04:00
Zach Borboa eadd466f66 Fix parsing schemeless url 2021-08-07 17:48:47 -04:00
Zach Borboa 25e9126f77 Make Url::parseUrl() and Url::percentEncodeChars() static functions. 2021-08-06 21:01:02 -04:00
Zach Borboa 620bf40691 Move ArrayUtil tests under ArrayUtilTest 2021-07-26 21:48:17 -04:00
Zach Borboa c51b175748 Increase amount of time drift allowed
(noisy neighbors?)
2021-07-26 20:44:33 -04:00
Zach Borboa cd825550b2 Fix Curl::downloadFileName not being correctly set 2021-07-26 20:17:14 -04:00
Zach Borboa 285b4f02e6 Update tests to more closely match one another 2021-07-26 10:29:24 -04:00
Zach Borboa 7af4a8d383 Fix some errors caused by using strict types 2021-07-26 10:08:44 -04:00
Zach Borboa bb1a190071 Use strict types 2021-07-26 00:48:18 -04:00
Zach Borboa 6ceabf7293 Clean up 2021-07-26 00:35:01 -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 2a899465c4 Add method to run basic request diagnostics 2021-07-18 21:56:03 -04:00
Zach Borboa 250421927f Add additional Curl::set* and MultiCurl::set* helper methods 2021-06-17 11:14:29 -04:00
Zach Borboa b06af57cb3 Clean up 2021-06-11 08:24:40 -04:00
Zach Borboa 8d62a97719 Unify continuous integration and run scripts more closely 2021-06-11 00:19:33 -04: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 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 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 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 922ff9bdc8 Fix tests running with older versions of PHPUnit 2021-03-23 23:08:08 -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
Zach Borboa 57bfcb4e1a Clean up 2021-03-22 22:55:46 -04:00
Zach Borboa 4c20e12f5b Exclude website files from long lines check 2021-03-20 09:48:38 -04:00
Zach Borboa 7884ca4628 Remove flag for debugging 2021-03-19 21:54:40 -04:00
Zach Borboa 32797071c7 Replace error count with error summary 2021-03-19 21:31:47 -04:00
Zach Borboa 161f9aea63 Use short array syntax 2021-03-18 01:15:52 -04:00
Zach Borboa cc3f7bac24 Remove PHP v5.x support and add basic doc for how one may install the old version 2021-03-17 12:19:38 -04:00
Zach Borboa 05a1a21090 Remove official support of HHVM
As of HHVM 4.0, PHP is no longer supported:
    "With this release, we no longer aim to be compatible with PHP"
    "We are considering removing support for <?php in the next release [...]"
2021-03-17 09:33:50 -04:00
Zach Borboa d946b02b89 Clean up references of the previous continuous integration 2021-03-17 01:07:48 -04:00
Zach Borboa 6645958447 Remove fix attempt for CurlTest::testTimeout() 2021-03-17 00:40:36 -04:00
Zach Borboa e71ff2c56c Use MultiCurl::startTime and MultiCurl::stopTime when generating request stats 2021-03-17 00:29:47 -04:00
Zach Borboa 6c355bdb5e Update step names 2021-03-16 22:27:05 -04:00
Zach Borboa 7697d2be2b Use message from test helper when assertion fails 2021-03-16 21:57:12 -04:00