Commit Graph

2192 Commits

Author SHA1 Message Date
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
Zach Borboa 3e1b56d94c Approve update 2025-11-12 21:16:41 -05:00
PHP Curl Class helper c2a9330f98 Update package certifi (#1013)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Zach Borboa <zachborboa@gmail.com>
2025-11-12 21:14:09 -05:00
PHP Curl Class helper 48d5076036 Update package PyNaCl (#1012)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Zach Borboa <zachborboa@gmail.com>
2025-11-12 21:13:45 -05:00
Zach Borboa 017f2a83e3 Re-use branch name where possible 2025-11-12 21:05:14 -05:00
Zach Borboa 4b83a84946 Enable auto-merge for pull request 2025-11-12 21:00:18 -05:00
Zach Borboa b18817323b Update to latest version 2025-11-12 21:00:15 -05:00
Zach Borboa 46e6550f78 Merge pull request #1010 from php-curl-class-helper/create-pull-request/outdated
⬆ Update outdated dependencies list
2025-11-12 19:58:34 -05:00
Zach Borboa c815b2420e Merge branch 'master' into create-pull-request/outdated 2025-11-12 19:38:25 -05:00
github-actions[bot] 49dbab2b8c Merge pull request #1009 from php-curl-class-helper/create-pull-request/pre-commit
⬆ Update pre-commit dependencies
2025-11-12 18:27:25 +00:00
github-actions[bot] b4af13e7f9 Update outdated dependencies list 2025-11-12 18:08:52 +00:00
github-actions[bot] 6a9751946b Update pre-commit dependencies 2025-11-12 18:06:25 +00:00
Zach Borboa 781e46e1eb Fix branch name 2025-11-12 09:59:16 -05:00
Zach Borboa 18cdd4ceed Fix typo 2025-11-12 09:58:14 -05:00
Zach Borboa dfb43deb12 Add workflow for updating a package 2025-11-12 09:56:27 -05:00
Zach Borboa 47336e1285 Fix reading outdated packages list 2025-11-12 09:26:25 -05:00
Zach Borboa 167217bb95 Work on workflow for upgrading outdated dependencies 2025-11-11 17:41:32 -05:00
Zach Borboa 7fc66e1f7e Merge pull request #1008 from php-curl-class-helper/create-pull-request/outdated
⬆ Update outdated dependencies list
2025-11-11 13:27:40 -05:00
github-actions[bot] 8bf277d713 Update outdated dependencies list 2025-11-11 18:06:50 +00:00
github-actions[bot] 4402185802 Merge pull request #1007 from php-curl-class-helper/create-pull-request/pre-commit
⬆ Update pre-commit dependencies
2025-11-10 18:26:22 +00:00
github-actions[bot] d749d0fe34 Update pre-commit dependencies 2025-11-10 18:06:18 +00:00
Zach Borboa 0a8e085515 Merge pull request #1006 from php-curl-class-helper/create-pull-request/outdated
⬆ Update outdated dependencies list
2025-11-09 13:19:03 -05:00
github-actions[bot] bab4c73072 Update outdated dependencies list 2025-11-09 17:58:52 +00:00
Zach Borboa 88f91d595e Bump pyjwt 2025-11-09 12:57:54 -05:00
Zach Borboa 223d4f4b99 Add script to update requirements 2025-11-09 12:47:35 -05:00
github-actions[bot] 6484fdde6b Bump version: 12.0.0 → 12.0.1 12.0.1 2025-11-03 18:05:05 +00:00
Zach Borboa 7e724dc9b8 Remove calls to deprecated functions (#1005)
* Fix phpcs warning

FILE: ./src/Curl/Curl.php
-----------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------------
 239 | WARNING | Function curl_close() is deprecated since PHP 8.5
     |         | (PHPCompatibility.FunctionUse.RemovedFunctions.curl_closeDeprecated)
-----------------------------------------------------------------------------------------------------------------

* Fix phpcs warning

FILE: ./tests/Helper.php
-----------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------------
 126 | WARNING | Function finfo_close() is deprecated since PHP 8.5
     |         | (PHPCompatibility.FunctionUse.RemovedFunctions.finfo_closeDeprecated)
-----------------------------------------------------------------------------------------------------------------

* Fix psalm error

ERROR: UnusedBaselineEntry - ../src/Curl/Curl.php:0:0 - Baseline for
issue "PossiblyInvalidArgument" has 1 extra entry. (see
https://psalm.dev/316)
2025-11-01 23:48:41 -04:00
github-actions[bot] 61d27282ac Merge pull request #1003 from php-curl-class/dependabot/pip/cryptography-46.0.3
⬆ Bump cryptography from 46.0.2 to 46.0.3
2025-10-16 09:29:48 +00:00
dependabot[bot] a2dd2b8d90 ⬆ Bump cryptography from 46.0.2 to 46.0.3
Bumps [cryptography](https://github.com/pyca/cryptography) from 46.0.2 to 46.0.3.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/46.0.2...46.0.3)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-version: 46.0.3
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-16 09:09:40 +00:00
github-actions[bot] df7e5b5e12 Merge pull request #1002 from php-curl-class/dependabot/pip/charset-normalizer-3.4.4
⬆ Bump charset-normalizer from 3.4.3 to 3.4.4
2025-10-14 09:31:25 +00:00
dependabot[bot] 395aaeb863 ⬆ Bump charset-normalizer from 3.4.3 to 3.4.4
Bumps [charset-normalizer](https://github.com/jawah/charset_normalizer) from 3.4.3 to 3.4.4.
- [Release notes](https://github.com/jawah/charset_normalizer/releases)
- [Changelog](https://github.com/jawah/charset_normalizer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jawah/charset_normalizer/compare/3.4.3...3.4.4)

---
updated-dependencies:
- dependency-name: charset-normalizer
  dependency-version: 3.4.4
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-14 09:10:46 +00:00
github-actions[bot] 41a8ffc96b Merge pull request #1001 from php-curl-class-helper/create-pull-request/pre-commit
⬆ Update pre-commit dependencies
2025-10-13 18:25:55 +00:00
github-actions[bot] 31e2c8c824 Update pre-commit dependencies 2025-10-13 18:05:26 +00:00
github-actions[bot] 403bdc90a9 Merge pull request #1000 from php-curl-class/dependabot/pip/idna-3.11
⬆ Bump idna from 3.10 to 3.11
2025-10-13 09:47:22 +00:00
dependabot[bot] da20f5bd47 ⬆ Bump idna from 3.10 to 3.11
Bumps [idna](https://github.com/kjd/idna) from 3.10 to 3.11.
- [Release notes](https://github.com/kjd/idna/releases)
- [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.rst)
- [Commits](https://github.com/kjd/idna/compare/v3.10...v3.11)

---
updated-dependencies:
- dependency-name: idna
  dependency-version: '3.11'
  dependency-type: indirect
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-13 09:26:18 +00:00
github-actions[bot] 908c829571 Merge pull request #999 from php-curl-class/dependabot/pip/certifi-2025.10.5
⬆ Bump certifi from 2025.8.3 to 2025.10.5
2025-10-06 09:34:58 +00:00
dependabot[bot] 81742745f9 ⬆ Bump certifi from 2025.8.3 to 2025.10.5
Bumps [certifi](https://github.com/certifi/python-certifi) from 2025.8.3 to 2025.10.5.
- [Commits](https://github.com/certifi/python-certifi/compare/2025.08.03...2025.10.05)

---
updated-dependencies:
- dependency-name: certifi
  dependency-version: 2025.10.5
  dependency-type: indirect
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-06 09:14:00 +00:00
github-actions[bot] a1fb7a7e27 Merge pull request #998 from php-curl-class-helper/create-pull-request/pre-commit
⬆ Update pre-commit dependencies
2025-10-02 18:26:09 +00:00
github-actions[bot] d88294bdf2 Update pre-commit dependencies 2025-10-02 18:05:22 +00:00
github-actions[bot] c24a498afe Merge pull request #997 from php-curl-class-helper/create-pull-request/pre-commit
⬆ Update pre-commit dependencies
2025-10-01 18:29:39 +00:00
github-actions[bot] c4c8faf01d Update pre-commit dependencies 2025-10-01 18:05:23 +00:00
github-actions[bot] b733e0aa73 Merge pull request #996 from php-curl-class/dependabot/pip/cryptography-46.0.2
⬆ Bump cryptography from 46.0.1 to 46.0.2
2025-10-01 09:38:59 +00:00
dependabot[bot] 82f19f0373 ⬆ Bump cryptography from 46.0.1 to 46.0.2
Bumps [cryptography](https://github.com/pyca/cryptography) from 46.0.1 to 46.0.2.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/46.0.1...46.0.2)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-version: 46.0.2
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-01 09:18:13 +00:00
github-actions[bot] a8c820e047 Merge pull request #995 from php-curl-class-helper/create-pull-request/pre-commit
⬆ Update pre-commit dependencies
2025-09-22 18:32:02 +00:00
github-actions[bot] e4bdfc0647 Update pre-commit dependencies 2025-09-22 18:05:24 +00:00