github-actions[bot]
a42bd9b7ba
Bump version: 9.14.5 → 9.15.0
9.15.0
2023-05-22 18:02:53 +00:00
Zach Borboa
c67b132a7b
Merge pull request #781 from zachborboa/master
...
Update Curl::diagnose() to detect bit flags with negative values
2023-05-20 16:24:09 -07:00
Zach Borboa
1c270272c8
Update Curl::diagnose() to detect bit flags with negative values
2023-05-20 13:32:44 -07:00
Zach Borboa
f4205712fc
Merge pull request #780 from zachborboa/master
...
Run PHPCompatibility on PHP 7.2 and higher
2023-05-20 11:14:51 -07:00
Zach Borboa
2a73070caf
Run PHPCompatibility on PHP 7.2 and higher
...
Error message:
++ phpcs_to_use=vendor/bin/phpcs
++ vendor/bin/phpcs --version
PHP_CodeSniffer version 3.7.2 (stable) by Squiz (http://www.squiz.net )
++ vendor/bin/phpcs --extensions=php '--ignore=*/vendor/*' --standard=tests/ruleset.xml -p -s .
W........................................................... 60 / 116 (52%)
........................................................ 116 / 116 (100%)
FILE: ...me/runner/work/php-curl-class/php-curl-class/examples/custom.php
----------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------
1 | WARNING | IMPORTANT: Please be advised that for the most
| | reliable PHPCompatibility results, PHP 7.2 or higher
| | should be used. Support for lower versions will be
| | dropped in the foreseeable future. You are currently
| | using PHP 7.0.33-65+ubuntu22.04.1+deb.sury.org+1.
| | Please upgrade your PHP installation to version 7.2 or
| | higher.
| |
| | To disable this notice, add
| | --exclude=PHPCompatibility.Upgrade.LowPHP to your
| | command or add <exclude
| | name="PHPCompatibility.Upgrade.LowPHP.BelowRecommended_7_2"/>
| | to your custom ruleset.
| |
| | Thank you for using PHPCompatibility!
| | (PHPCompatibility.Upgrade.LowPHP.BelowRecommended_7_2)
----------------------------------------------------------------------
2023-05-20 10:41:23 -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
9.14.5
2023-05-16 18:02:43 +00:00
Zach Borboa
0ea79808d6
Merge pull request #778 from zachborboa/master
...
Handle missing content-type response header in Curl::diagnose()
2023-05-15 19:58:42 -07: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
9.14.4
2023-05-08 18:03:02 +00:00
Zach Borboa
c7efc3f3d6
Merge pull request #776 from zachborboa/master
...
Update article in Curl::diagnose() Allow header warning
2023-05-07 03:21:04 -07: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
Zach Borboa
a9ca60f23a
Exclude EditorConfig file from git archive
2023-03-13 17:05:20 -07:00
Zach Borboa
e0f8eb149c
Add note on continuous integration tests
2023-03-13 16:55:33 -07:00
github-actions[bot]
5d87676a3a
Bump version: 9.14.2 → 9.14.3
9.14.3
2023-03-13 18:02:56 +00:00
Zach Borboa
04144e6aab
Merge pull request #774 from zachborboa/master
...
Remove use of array_merge() inside loop
2023-03-11 05:27:50 -08:00
Zach Borboa
dfdd2f5fb0
Remove use of array_merge() inside loop
2023-03-11 05:01:00 -08:00
Zach Borboa
5087ac64f6
Merge pull request #773 from zachborboa/master
...
Fix sed portability
2023-03-10 05:36:24 -08:00
Zach Borboa
3971c2f081
Fix sed portability
2023-03-10 04:31:11 -08:00
github-actions[bot]
543cd0aff1
Bump version: 9.14.1 → 9.14.2
9.14.2
2023-03-09 18:03:01 +00:00
Zach Borboa
9b9dd17c8d
Merge pull request #771 from zachborboa/master
...
Clean up: Reduce nesting
2023-03-08 15:25:39 -08: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
9.14.1
2023-02-27 18:02:59 +00:00
Zach Borboa
4133006c9f
Remove coding standard ruleset exclusion
2023-02-26 12:07:58 -08: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
Zach Borboa
54981b9a38
Add Dependabot configuration
2023-02-26 11:42:32 -08:00
Zach Borboa
ffc0a3e798
Use a more friendly release time and day of week
...
"0 18 * * 1-4":
"At 18:00 on every day-of-week from Monday through Thursday."
PT - 10 am
CT - 12 pm
ET - 1 pm
UTC - 6 pm
2023-02-26 09:51:13 -08:00
github-actions[bot]
70e0c7fe75
Bump version: 9.13.1 → 9.14.0
9.14.0
2023-02-26 16:55:31 +00:00
Zach Borboa
23bd83e84e
Merge pull request #767 from zachborboa/master
...
Make https:// and http:// the allowed request protocols by default
2023-02-25 10:56:18 -08:00
Zach Borboa
ccd476b448
Make https:// and http:// the allowed request protocols by default
2023-02-25 10:23:18 -08:00
Zach Borboa
2c8a7f03c2
Add EditorConfig file to help with coding styles
2023-02-25 09:53:19 -08:00
Zach Borboa
94b769e0d0
Merge pull request #766 from zachborboa/master
...
Update ci to work with PHPUnit 10
2023-02-18 05:36:35 -08:00
Zach Borboa
d4af343164
Add emits warning test for PHPUnit 10
2023-02-17 21:32:20 -08:00
Zach Borboa
10ead55ca4
Fail on risky tests
...
Catch the following:
There was 1 risky test:
1) CurlTest\PHPCurlClassTest::testRequiredOptionCurlOptReturnTransferEmitsWarning
This test did not perform any assertions
/home/runner/work/php-curl-class/php-curl-class/tests/PHPCurlClass/PHPCurlClassTest.php:3097
2023-02-17 20:21:54 -08:00
Zach Borboa
4ed7644250
Update tests to work with PHPUnit 10
2023-02-17 19:31:41 -08:00
Zach Borboa
acf5443a68
Fix sed command portability
...
Error messages:
$ sed -i'' '-e/->expectWarning(/d' ./PHPCurlClass/PHPCurlClassTest.php ./PHPCurlClass/PHPMultiCurlClassTest.php
sed: 1: "./PHPCurlClass/PHPCurlC ...": invalid command code .
+ phpunit_v10_shim
+ remove_expectWarning
+ sed -i '' '-e/->expectWarning(/d' ./PHPCurlClass/PHPCurlClassTest.php ./PHPCurlClass/PHPMultiCurlClassTest.php
sed: can't read : No such file or directory
2023-02-17 19:29:22 -08:00
Zach Borboa
bcf3c1ad33
Remove --verbose option removed in PHPUnit 10
...
Error:
+ ../vendor/bin/phpunit --configuration phpunit.xml --verbose
PHPUnit 10.0.1 by Sebastian Bergmann and contributors.
Unknown option "--verbose"
2023-02-03 17:24:13 -08:00
Zach Borboa
43e666de0f
Remove --debug option removed in PHPUnit 10 for continuous integration tests
...
Error:
+ ../vendor/bin/phpunit --configuration phpunit.xml --debug --verbose
PHPUnit 10.0.1 by Sebastian Bergmann and contributors.
Unknown option "--debug"
2023-02-03 17:16:17 -08:00
Zach Borboa
08850b1a90
Remove --debug option removed in PHPUnit 10
...
Error:
+ ../vendor/bin/phpunit --configuration phpunit.xml --debug --verbose
PHPUnit 10.0.1 by Sebastian Bergmann and contributors.
Unknown option "--debug"
2023-02-03 17:04:12 -08:00
Zach Borboa
9954caab60
Update example to avoid use of dynamic properties
2023-02-02 05:29:45 -08:00
Zach Borboa
253c84ea8a
Update site badge urls
2023-01-29 15:38:41 -08:00
Zach Borboa
99bd995288
Format response header type notice as sentence
2023-01-26 16:58:45 -08:00
Zach Borboa
f6ed305633
Clean up
2023-01-15 19:09:34 -08:00
github-actions[bot]
1fa71f6392
Bump version: 9.13.0 → 9.13.1
9.13.1
2023-01-16 01:29:25 +00:00
Zach Borboa
4f0c563026
Merge pull request #762 from zachborboa/master
...
Allow uploads with CURLStringFile type
2023-01-15 13:50:59 -08:00
Zach Borboa
b41168b89b
Clean up
2023-01-15 13:28:04 -08:00
Zach Borboa
673564609a
Add tests for using CURLStringFile
2023-01-15 13:28:04 -08:00