PHP Curl Class helper
6300a2e917
Update pre-commit dependencies ( #1039 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-19 16:27:41 -05:00
Zach Borboa
ef37a295bc
Merge pull request #1038 from php-curl-class-helper/create-pull-request/outdated
...
⬆ Update outdated dependencies list
2026-01-08 13:29:23 -05:00
github-actions[bot]
6891ffb465
Update outdated dependencies list
2026-01-08 18:08:52 +00:00
github-actions[bot]
3c918e268a
Merge pull request #1037 from php-curl-class-helper/create-pull-request/upgrade-urllib3
...
⬆ Update urllib3
2026-01-07 20:29:59 +00:00
github-actions[bot]
525566f651
Update package urllib3
2026-01-07 20:09:42 +00:00
Zach Borboa
b36b4ff928
Merge pull request #1036 from php-curl-class-helper/create-pull-request/outdated
...
⬆ Update outdated dependencies list
2026-01-07 13:29:56 -05:00
github-actions[bot]
10099c79eb
Update outdated dependencies list
2026-01-07 18:09:31 +00:00
github-actions[bot]
865fd30f34
Merge pull request #1035 from php-curl-class/dependabot/github_actions/dependabot/fetch-metadata-2.5.0
...
⬆ Bump dependabot/fetch-metadata from 2.4.0 to 2.5.0
2026-01-06 09:30:35 +00:00
dependabot[bot]
bc07b9329a
⬆ Bump dependabot/fetch-metadata from 2.4.0 to 2.5.0
...
Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata ) from 2.4.0 to 2.5.0.
- [Release notes](https://github.com/dependabot/fetch-metadata/releases )
- [Commits](https://github.com/dependabot/fetch-metadata/compare/v2.4.0...v2.5.0 )
---
updated-dependencies:
- dependency-name: dependabot/fetch-metadata
dependency-version: 2.5.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-01-06 09:10:18 +00:00
Zach Borboa
ee0b9b4720
Merge pull request #1034 from php-curl-class-helper/create-pull-request/outdated
...
⬆ Update outdated dependencies list
2026-01-05 13:30:48 -05:00
github-actions[bot]
fa201f9d3f
Update outdated dependencies list
2026-01-05 18:09:49 +00:00
github-actions[bot]
cf9e03fd14
Merge pull request #1033 from php-curl-class/dependabot/pip/certifi-2026.1.4
...
⬆ Bump certifi from 2025.11.12 to 2026.1.4
2026-01-05 09:30:28 +00:00
dependabot[bot]
e3a95ee374
⬆ Bump certifi from 2025.11.12 to 2026.1.4
...
Bumps [certifi](https://github.com/certifi/python-certifi ) from 2025.11.12 to 2026.1.4.
- [Commits](https://github.com/certifi/python-certifi/compare/2025.11.12...2026.01.04 )
---
updated-dependencies:
- dependency-name: certifi
dependency-version: 2026.1.4
dependency-type: indirect
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-01-05 09:08:51 +00:00
github-actions[bot]
98ef5327e3
Merge pull request #1031 from php-curl-class-helper/create-pull-request/upgrade-PyNaCl
...
⬆ Update PyNaCl
2026-01-01 20:51:18 +00:00
Zach Borboa
8fe3b36298
Merge branch 'master' into create-pull-request/upgrade-PyNaCl
2026-01-01 16:31:01 -04:00
github-actions[bot]
940e42998d
Merge pull request #1032 from php-curl-class-helper/create-pull-request/upgrade-GitPython
...
⬆ Update GitPython
2026-01-01 20:30:09 +00:00
github-actions[bot]
f0ff909fc9
Update package GitPython
2026-01-01 20:09:53 +00:00
github-actions[bot]
a1aa19c4c3
Update package PyNaCl
2026-01-01 20:09:52 +00:00
Zach Borboa
1273987254
Merge pull request #1030 from php-curl-class-helper/create-pull-request/outdated
...
⬆ Update outdated dependencies list
2026-01-01 13:29:13 -05:00
github-actions[bot]
842285aa0b
Update outdated dependencies list
2026-01-01 18:08:42 +00:00
github-actions[bot]
3d2389969c
Merge pull request #1029 from php-curl-class/dependabot/pip/urllib3-2.6.2
...
⬆ Bump urllib3 from 2.6.1 to 2.6.2
2025-12-12 09:29:35 +00:00
dependabot[bot]
8b96abea39
⬆ Bump urllib3 from 2.6.1 to 2.6.2
...
Bumps [urllib3](https://github.com/urllib3/urllib3 ) from 2.6.1 to 2.6.2.
- [Release notes](https://github.com/urllib3/urllib3/releases )
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst )
- [Commits](https://github.com/urllib3/urllib3/compare/2.6.1...2.6.2 )
---
updated-dependencies:
- dependency-name: urllib3
dependency-version: 2.6.2
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-12 09:09:16 +00:00
github-actions[bot]
430cdfd91d
Bump version: 12.0.3 → 12.0.4
12.0.4
2025-12-11 18:04:38 +00:00
Zach Borboa
efad62196c
Merge pull request #1025 from php-curl-class-helper/create-pull-request/outdated
...
⬆ Update outdated dependencies list
2025-12-10 20:52:19 -05:00
Zach Borboa
c11b06d17c
Merge branch 'master' into create-pull-request/outdated
2025-12-10 20:31:07 -05:00
Zach Borboa
a91a932382
Fix psalm error ( #1027 )
...
ERROR: PossiblyNullArrayOffset - ../src/Curl/CaseInsensitiveArray.php:183:16 - Cannot access value on variable $this->keys using possibly null offset array-key|null (see https://psalm.dev/125 )
return $this->keys[$key] ?? $key;
2025-12-10 20:30:55 -05:00
github-actions[bot]
369aeacfa4
Update outdated dependencies list
2025-12-10 18:09:20 +00:00
dependabot[bot]
ce146416a5
⬆ Bump peter-evans/create-pull-request from 7 to 8 ( #1026 )
...
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request ) from 7 to 8.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases )
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v7...v8 )
---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
dependency-version: '8'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-10 10:59:07 -05:00
github-actions[bot]
798a1bfe29
Merge pull request #1024 from php-curl-class/dependabot/pip/urllib3-2.6.1
...
⬆ Bump urllib3 from 2.6.0 to 2.6.1
2025-12-09 09:29:30 +00:00
dependabot[bot]
acf35d3e8a
⬆ Bump urllib3 from 2.6.0 to 2.6.1
...
Bumps [urllib3](https://github.com/urllib3/urllib3 ) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/urllib3/urllib3/releases )
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst )
- [Commits](https://github.com/urllib3/urllib3/compare/2.6.0...2.6.1 )
---
updated-dependencies:
- dependency-name: urllib3
dependency-version: 2.6.1
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-09 09:09:24 +00:00
PHP Curl Class helper
e8850c301e
Update outdated dependencies list ( #1023 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Zach Borboa <zachborboa@gmail.com >
2025-12-08 22:54:56 -05:00
github-actions[bot]
7ba097941c
Merge pull request #1022 from php-curl-class-helper/create-pull-request/pre-commit
...
⬆ Update pre-commit dependencies
2025-12-08 18:27:05 +00:00
github-actions[bot]
616facf849
Update pre-commit dependencies
2025-12-08 18:06:39 +00:00
github-actions[bot]
9bbd1a2283
Merge pull request #1021 from php-curl-class/dependabot/pip/scripts/urllib3-2.6.0
...
Bump urllib3 from 2.5.0 to 2.6.0 in /scripts
2025-12-06 05:08:29 +00:00
dependabot[bot]
bd884072e4
Bump urllib3 from 2.5.0 to 2.6.0 in /scripts
...
Bumps [urllib3](https://github.com/urllib3/urllib3 ) from 2.5.0 to 2.6.0.
- [Release notes](https://github.com/urllib3/urllib3/releases )
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst )
- [Commits](https://github.com/urllib3/urllib3/compare/2.5.0...2.6.0 )
---
updated-dependencies:
- dependency-name: urllib3
dependency-version: 2.6.0
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-06 04:48:24 +00:00
github-actions[bot]
f910932317
Bump version: 12.0.2 → 12.0.3
12.0.3
2025-11-24 19:36:44 +00:00
Zach Borboa
f01d24f68a
Use WeakMap for active handle tracking ( #1020 )
...
* Use WeakMap for active handle tracking
- Replaces array-based tracking with PHP 8.0 \WeakMap
- Replaces an O(N) lookup with an O(1) lookup in the MultiCurl execution loop
* Fix tests
2025-11-21 21:36:54 -05:00
dependabot[bot]
e8196936f9
⬆ Bump actions/checkout from 5 to 6 ( #1019 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Zach Borboa <zachborboa@gmail.com >
2025-11-21 14:34:18 +00:00
Zach Borboa
c46ef2a858
Add PHP 8.5 ( #1018 )
...
* Add PHP 8.5 to continuous integration tests
* Use variable
* Add temporary skip
* Allow PHP CS Fixer to run on unsupported PHP versions
2025-11-21 09:13:38 -05:00
Zach Borboa
4b36f455dd
Simplify MultiCurl execution loop ( #1017 )
...
* Clean up
* Simplify MultiCurl execution loop
- Removes legacy workarounds
- Deprecates MultiCurl::setRequestTimeAccuracy()
- Removes use of CURLM_CALL_MULTI_PERFORM ("As of cURL 7.20.0, this constant is not used")
2025-11-20 23:39:03 -05:00
github-actions[bot]
064e78f89a
Bump version: 12.0.1 → 12.0.2
12.0.2
2025-11-18 19:37:10 +00:00
Zach Borboa
8e7b3d44fd
Attempt to fix release by fetching all history for all branches and tags
2025-11-18 14:35:32 -05:00
Zach Borboa
3b59f4001d
Include tags when checking out for release
2025-11-18 09:29:39 -05:00
Zach Borboa
f058672e6f
Improve MultiCurl::waitUntilRequestQuotaAvailable ( #1016 )
...
* Include keyword
* Use numeric literal separators
* Improve waitUntilRequestQuotaAvailable using new TimeUtil
2025-11-16 14:58:13 -05:00
Zach Borboa
ccbac89b97
Update fetch-depth as we don't need all history for all branches
2025-11-16 10:27:16 -05:00
Zach Borboa
0f597d3306
Link to project and exclude composer file from releases
2025-11-16 09:02:08 -05:00
Zach Borboa
4bf7292438
Fix rate limit ( #1015 )
...
* Rate limit fix
If $elapsed_seconds > $this->intervalSeconds the first time hasRequestQuota() is called, rateLimitReached is never set to true and the limit is not enforced
This can happen if the rate limit is set in a callback function some time after starting
I completely removed $rateLimitReached since its only use was in the removed condition check
Alternatively, it should be possible to reinitialize currentStartTime when setRateLimit is called, but I still don't really see the usefulness of resetting the timer only when the limit was reached in the previous interval
* Rename variable
* Clean up
---------
Co-authored-by: Riccardo Nava <116394015+ricnava00@users.noreply.github.com >
2025-11-15 17:08:55 -05:00
Zach Borboa
14e0881af7
Skip install
2025-11-13 19:54:36 -05:00
Zach Borboa
9463348c4f
Merge pull request #1014 from php-curl-class-helper/create-pull-request/outdated
...
⬆ Update outdated dependencies list
2025-11-12 21:37:40 -05:00
github-actions[bot]
eda6988726
Update outdated dependencies list
2025-11-13 02:17:28 +00:00