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
Zach Borboa
b6b3800dfa
Fix psalm UndefinedClass error
...
Message:
ERROR: UndefinedClass - ../src/Curl/ArrayUtil.php:96:87 - Class, interface or enum named CURLStringFile does not exist (see https://psalm.dev/019 )
} elseif (class_exists('CURLStringFile') && $value instanceof \CURLStringFile) {
2023-01-15 13:28:04 -08:00
Sander Backus
5cd8e3db11
Allow uploads with CURLStringFile type
2023-01-15 13:27:49 -08:00
Zach Borboa
de7751b4e1
Add additional test cases for Curl::diagnose()
2023-01-13 05:42:29 -08:00
Zach Borboa
422d1858d4
Only display diff after commit
2023-01-13 04:39:21 -08:00
github-actions[bot]
09e4d04872
Bump version: 9.12.6 → 9.13.0
9.13.0
2023-01-13 12:29:36 +00:00
Zach Borboa
20d50d380b
Fix version bump scripts
2023-01-13 04:27:45 -08:00
Zach Borboa
f2df1cf673
Include Curl::diagnose() in example
2023-01-12 08:45:07 -08:00
Zach Borboa
05fe935652
Fix typo
2023-01-12 08:30:22 -08:00
Zach Borboa
bdec727f63
Update script to work with base class
2023-01-12 08:29:24 -08:00
Zach Borboa
c5421e3be1
Merge pull request #759 from zachborboa/master
...
Implement abstract class BaseCurl for Curl and MultiCurl
2023-01-12 08:19:03 -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
e8a2afe008
Merge pull request #758 from zachborboa/master
...
Display error messages found in Curl::diagnose()
2023-01-12 07:50:35 -08:00
Zach Borboa
85794dacbe
Display error messages found in Curl::diagnose()
2023-01-12 07:25:24 -08:00
Zach Borboa
2e4facb703
Merge pull request #757 from zachborboa/master
...
Fix Curl::diagnose() request type output for POST requests
2023-01-12 07:20:00 -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
9.12.6
2023-01-11 02:13:53 +00:00
Zach Borboa
ec73057a56
Merge pull request #756 from zachborboa/master
...
Replace use of #[\AllowDynamicProperties]
2023-01-10 17:04:55 -08:00
Zach Borboa
b20f535f7c
Replace use of #[\AllowDynamicProperties]
2023-01-10 13:18:26 -08:00