540 Commits

Author SHA1 Message Date
github-actions[bot] 5672725591 Bump version: 9.17.0 → 9.17.1 2023-06-14 18:02:50 +00:00
Zach Borboa 945c8c9aad Merge pull request #791 from zachborboa/master
Improve and add tests for Curl::fastDownload()
2023-06-13 18:48:50 -07:00
github-actions[bot] 505c09484d Bump version: 9.16.1 → 9.17.0 2023-06-13 18:02:54 +00:00
Zach Borboa 76e74fdc44 Improve and add tests for Curl::fastDownload() 2023-06-13 02:52:59 -07:00
Zach Borboa 2bb2f32087 Make method to display curl option value public 2023-06-12 20:27:16 -07:00
github-actions[bot] 8223f13fce Bump version: 9.16.0 → 9.16.1 2023-06-12 18:02:52 +00:00
Zach Borboa 42a2062d6f Differentiate between internal options and user-set options 2023-06-11 19:52:58 -07:00
Zach Borboa 5427717469 Fix existing header overwritten after using MultiCurl::addCurl() 2023-06-08 19:18:32 -07:00
Zach Borboa 4c4bc8952a Create method to display a curl option value 2023-06-03 05:14:35 -07:00
github-actions[bot] 100a7f406d Bump version: 9.15.1 → 9.16.0 2023-05-25 18:02:49 +00:00
Zach Borboa 493d69de2c Merge pull request #783 from zachborboa/master
Graduate Curl::fastDownload()
2023-05-24 15:12:17 -07:00
github-actions[bot] aa1872beda Bump version: 9.15.0 → 9.15.1 2023-05-24 18:02:49 +00:00
Zach Borboa c37bb58a48 Make function public 2023-05-23 20:35:36 -07:00
Zach Borboa 2a409363f3 Clean up 2023-05-23 20:34:21 -07:00
Zach Borboa 645c1a4859 Merge pull request #782 from zachborboa/master
Fix PHP CodeSniffer errors
2023-05-23 18:17:39 -07:00
Zach Borboa ecba1623e7 Fix PHP CodeSniffer errors
FILE: ./src/Curl/Curl.php
----------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 7 WARNINGS AFFECTING 7 LINES
----------------------------------------------------------------------------------------------------------------------------------
 1688 | WARNING | Method name "_getCurlErrorCodeConstants" should not be prefixed with an underscore to indicate visibility
      |         | (PSR2.Methods.MethodDeclaration.Underscore)
 1707 | WARNING | Method name "_getCurlErrorCodeConstant" should not be prefixed with an underscore to indicate visibility
      |         | (PSR2.Methods.MethodDeclaration.Underscore)
 1721 | WARNING | Method name "_getCurlOptionCodeConstants" should not be prefixed with an underscore to indicate visibility
      |         | (PSR2.Methods.MethodDeclaration.Underscore)
 1745 | WARNING | Method name "_getEffectiveUrl" should not be prefixed with an underscore to indicate visibility
      |         | (PSR2.Methods.MethodDeclaration.Underscore)
 1755 | WARNING | Method name "_getRfc2616" should not be prefixed with an underscore to indicate visibility
      |         | (PSR2.Methods.MethodDeclaration.Underscore)
 1765 | WARNING | Method name "_getRfc6265" should not be prefixed with an underscore to indicate visibility
      |         | (PSR2.Methods.MethodDeclaration.Underscore)
 1775 | WARNING | Method name "_getTotalTime" should not be prefixed with an underscore to indicate visibility
      |         | (PSR2.Methods.MethodDeclaration.Underscore)
----------------------------------------------------------------------------------------------------------------------------------
2023-05-23 17:49:52 -07:00
github-actions[bot] a42bd9b7ba Bump version: 9.14.5 → 9.15.0 2023-05-22 18:02:53 +00:00
Zach Borboa 1c270272c8 Update Curl::diagnose() to detect bit flags with negative values 2023-05-20 13:32:44 -07:00
Zach Borboa d5d3fd9f7b Merge pull request #779 from zachborboa/master
Display bit flags in use when calling Curl::diagnose()
2023-05-18 16:56:57 -07:00
Zach Borboa a304084a61 Display bit flags in use when calling Curl::diagnose()
This change attempts to determine which underlying constants were
bitmasked together to reach the resulting value passed to curl_setopt()
using Curl::setOpt().
2023-05-18 16:11:07 -07:00
github-actions[bot] 3e0a9ebff9 Bump version: 9.14.4 → 9.14.5 2023-05-16 18:02:43 +00:00
Zach Borboa f7b216a3d9 Fix #777: Handle missing content-type response header in Curl::diagnose() 2023-05-15 19:33:59 -07:00
github-actions[bot] eb4d2213bb Bump version: 9.14.3 → 9.14.4 2023-05-08 18:03:02 +00:00
Zach Borboa 5b39126488 Update article in Curl::diagnose() Allow header warning 2023-05-07 02:50:08 -07:00
Zach Borboa 58f03b1699 Add @see tags to related functions 2023-05-05 08:45:03 -07:00
github-actions[bot] 5d87676a3a Bump version: 9.14.2 → 9.14.3 2023-03-13 18:02:56 +00:00
Zach Borboa dfdd2f5fb0 Remove use of array_merge() inside loop 2023-03-11 05:01:00 -08:00
github-actions[bot] 543cd0aff1 Bump version: 9.14.1 → 9.14.2 2023-03-09 18:03:01 +00:00
Zach Borboa 9a1eae612b Reduce nesting 2023-03-08 14:34:05 -08:00
github-actions[bot] 71eadd9ea8 Bump version: 9.14.0 → 9.14.1 2023-02-27 18:02:59 +00:00
Zach Borboa 1aa3f87115 Replace some private method names not in camel caps format 2023-02-26 12:07:58 -08:00
Zach Borboa c6256e31b3 Remove coding standard ruleset exclusion 2023-02-26 12:07:58 -08:00
github-actions[bot] 70e0c7fe75 Bump version: 9.13.1 → 9.14.0 2023-02-26 16:55:31 +00:00
Zach Borboa ccd476b448 Make https:// and http:// the allowed request protocols by default 2023-02-25 10:23:18 -08:00
Zach Borboa 99bd995288 Format response header type notice as sentence 2023-01-26 16:58:45 -08:00
github-actions[bot] 1fa71f6392 Bump version: 9.13.0 → 9.13.1 2023-01-16 01:29:25 +00:00
Sander Backus 5cd8e3db11 Allow uploads with CURLStringFile type 2023-01-15 13:27:49 -08:00
github-actions[bot] 09e4d04872 Bump version: 9.12.6 → 9.13.0 2023-01-13 12:29:36 +00:00
Zach Borboa 05fe935652 Fix typo 2023-01-12 08:30:22 -08:00
Zach Borboa 16380527e1 Fix #750: Implement abstract class BaseCurl for Curl and MultiCurl 2023-01-12 07:51:07 -08:00
Zach Borboa 85794dacbe Display error messages found in Curl::diagnose() 2023-01-12 07:25:24 -08:00
Zach Borboa d40c3b3cb1 Fix Curl::diagnose() request type output for POST requests 2023-01-12 06:47:36 -08:00
github-actions[bot] 3e99a56b96 Bump version: 9.12.5 → 9.12.6 2023-01-11 02:13:53 +00:00
Zach Borboa b20f535f7c Replace use of #[\AllowDynamicProperties] 2023-01-10 13:18:26 -08:00
Michael Bolli 95f4aac970 silence PHP 8.2 deprecation notices 2023-01-10 10:27:19 +01:00
github-actions[bot] ac45a3d212 Bump version: 9.12.4 → 9.12.5 2022-12-20 01:29:22 +00:00
Zach Borboa 84909cc448 Fix static analysis error
Error message:
    ERROR: InvalidArrayOffset - ../src/Curl/Curl.php:2182:25 - Cannot
    access value on variable $response_header_array using a int<-1, max>
    offset, expecting int<0, max> (see https://psalm.dev/115)
            if (stripos($response_header_array[$i], 'HTTP/') === 0) {
2022-12-19 12:06:48 -08:00
github-actions[bot] a0c5980cbc Bump version: 9.12.3 → 9.12.4 2022-12-17 01:28:37 +00:00
Zach Borboa 5c4572e98f Merge pull request #751 from zachborboa/master
Exclude additional files from git archive
2022-12-16 05:09:14 -08:00
Zach Borboa e8fdd2377f Fix static analysis error
Error message:
    ERROR: MethodSignatureMustProvideReturnType -
    ../src/Curl/Url.php:18:21 - Method Curl\Url::__toString must have a
    return type signature! (see https://psalm.dev/282) public function
    __toString()
2022-12-16 04:43:07 -08:00