562 Commits

Author SHA1 Message Date
github-actions[bot] 8e9cd0caff Bump version: 9.18.2 → 9.19.0 2024-01-18 18:03:34 +00:00
Zach Borboa 5097545a05 Allow displaying curl option value without specifying value 2024-01-18 09:05:46 -05:00
Zach Borboa 93c5a18302 Fix PHP CS Fixer validation
Error occurred with a newer version of PHP CS Fixer being installed
(3.42.0 → 3.43.1).
2023-12-29 21:50:09 -05:00
Zach Borboa 69034d052f Wrap option string values in quotes when displaying diagnostic output 2023-10-21 06:05:18 -07:00
Zach Borboa 89ff44d667 Clean up 2023-09-22 17:14:30 -07:00
github-actions[bot] 2b8a93b37d Bump version: 9.18.1 → 9.18.2 2023-09-11 18:08:28 +00:00
Zach Borboa 4624486d56 Fix use of mb_strpos() causing error when polyfill is used
Error message:
    Uncaught ErrorException: iconv_strpos(): Detected an illegal character in input string in
    /var/www/site/vendor/symfony/polyfill-mbstring/Mbstring.php:536
2023-09-09 11:52:42 -07:00
github-actions[bot] e4e6664854 Bump version: 9.18.0 → 9.18.1 2023-08-29 18:02:47 +00:00
Zach Borboa a6e6110051 Update checks for decoding gzip-encoded responses 2023-08-29 07:01:18 -07:00
github-actions[bot] c5260b162b Bump version: 9.17.4 → 9.18.0 2023-08-28 18:02:58 +00:00
Zach Borboa 11bd600918 Rename ::setError() to ::afterSend() 2023-08-25 06:39:12 -07:00
Zach Borboa 5e5d284a9b Implement Curl::setError() and MultiCurl::setError() 2023-08-22 20:20:47 -07:00
github-actions[bot] d5542274ac Bump version: 9.17.3 → 9.17.4 2023-07-10 18:03:00 +00:00
Robin van der Vliet 94d8cf948f Replace isset with null coalescing operator (#800) 2023-07-06 20:41:38 -07:00
github-actions[bot] 96bb2ef69b Bump version: 9.17.2 → 9.17.3 2023-07-04 18:03:02 +00:00
Zach Borboa cd924d10c3 Update PHP_CodeSniffer ruleset: PSR2 → PSR12 2023-06-30 01:23:37 -07:00
Zach Borboa 9bd4776b73 Apply additional coding standards 2023-06-30 00:37:30 -07:00
github-actions[bot] 60055da5b5 Bump version: 9.17.1 → 9.17.2 2023-06-27 01:06:30 +00:00
Zach Borboa 2f532ab2b8 Merge branch 'master' into use-short-array-syntax 2023-06-26 02:57:15 -07:00
Zach Borboa 128a0c1ea2 Add PHP-CS-Fixer to check for unused imports 2023-06-24 19:33:48 -07:00
Robin van der Vliet c45f8e22de Use short array syntax 2023-06-23 19:50:18 +02:00
Robin van der Vliet c9ad23cf5c Increase uniqueness of Curl::id
Replace `uniqid` by `random_bytes` (#792)
2023-06-22 15:38:16 -07:00
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