Commit Graph

1641 Commits

Author SHA1 Message Date
Zach Borboa b20f535f7c Replace use of #[\AllowDynamicProperties] 2023-01-10 13:18:26 -08:00
Zach Borboa f71479a46d Merge pull request #754 from mbolli/fix-php82-deprecations
silence PHP 8.2 deprecation notices
2023-01-10 07:20:12 -08:00
Michael Bolli 95f4aac970 silence PHP 8.2 deprecation notices 2023-01-10 10:27:19 +01:00
Zach Borboa fdbfd2545b Merge pull request #753 from zachborboa/master
Fix release failure by fetching all tags during checkout
2022-12-30 19:11:21 -08:00
Zach Borboa b5e90e45a9 Fix release failure by fetching all tags during checkout
Command:
  for remote in local_repo.remotes:
      remote.fetch('--tags')

Error message:
  git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
    cmdline: git fetch -v -- origin --tags
    stderr: 'fatal: couldn't find remote ref --tags'

Before:
    Fetching the repository
    /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin [...]

After:
    Fetching the repository
    /usr/bin/git -c protocol.version=2 fetch --prune --progress --no-recurse-submodules origin [...]
2022-12-30 18:03:02 -08:00
github-actions[bot] ac45a3d212 Bump version: 9.12.4 → 9.12.5 9.12.5 2022-12-20 01:29:22 +00:00
Zach Borboa 8d78374a91 Merge pull request #752 from zachborboa/master
Fix static analysis error
2022-12-19 12:59:35 -08:00
Zach Borboa 84909cc448 Fix static analysis error
Error message:
    ERROR: InvalidArrayOffset - ../src/Curl/Curl.php:2182:25 - Cannot
    access value on variable $response_header_array using a int<-1, max>
    offset, expecting int<0, max> (see https://psalm.dev/115)
            if (stripos($response_header_array[$i], 'HTTP/') === 0) {
2022-12-19 12:06:48 -08:00
github-actions[bot] a0c5980cbc Bump version: 9.12.3 → 9.12.4 9.12.4 2022-12-17 01:28:37 +00:00
Zach Borboa 5b388dd4dd Add script to run static analysis checks 2022-12-16 05:14:40 -08:00
Zach Borboa 794d8dda69 Update badge urls 2022-12-16 05:13:42 -08:00
Zach Borboa 5c4572e98f Merge pull request #751 from zachborboa/master
Exclude additional files from git archive
2022-12-16 05:09:14 -08:00
Zach Borboa e8fdd2377f Fix static analysis error
Error message:
    ERROR: MethodSignatureMustProvideReturnType -
    ../src/Curl/Url.php:18:21 - Method Curl\Url::__toString must have a
    return type signature! (see https://psalm.dev/282) public function
    __toString()
2022-12-16 04:43:07 -08:00
Zach Borboa 3cfe83b222 Move static analysis config under tests/ and exclude from git archive 2022-12-16 04:03:56 -08:00
Zach Borboa 6a8d60b8d6 Exclude testing information file from git archive 2022-12-14 05:06:30 -08:00
github-actions[bot] 78e9135149 Bump version: 9.12.2 → 9.12.3 9.12.3 2022-12-13 01:29:57 +00:00
Zach Borboa 918ce7bc60 Merge pull request #749 from zachborboa/master
Ensure string response before gzip decode
2022-12-12 06:18:41 -08:00
Zach Borboa 05ede8f26f Clean up 2022-12-12 05:54:12 -08:00
Zach Borboa d8ed09f266 Fix #747: Ensure string response before gzip decode 2022-12-12 05:53:53 -08:00
github-actions[bot] 7b2ae8aa17 Bump version: 9.12.1 → 9.12.2 9.12.2 2022-12-11 01:29:24 +00:00
Zach Borboa c5a471ff2d Add assertions for response content type and content encoding 2022-12-10 11:50:37 -08:00
Zach Borboa e70395af88 Merge pull request #748 from zachborboa/master
Disable warning when gzip-decoding response errors
2022-12-10 11:44:25 -08:00
Zach Borboa 1f06b2c2a0 Fix #747: Disable warning when gzip-decoding response errors 2022-12-10 08:15:18 -08:00
Zach Borboa 6d91f62e88 Skip including release notes for cleanup pull requests 2022-12-08 18:45:48 -08:00
Zach Borboa 91c885076a Exit earlier if any pull request is missing semantic version change type 2022-12-08 18:36:45 -08:00
Zach Borboa 6527db2685 Merge pull request #746 from zachborboa/master
Add PHP 8.3 to continuous integration tests
2022-12-08 07:40:43 -08:00
Zach Borboa 7184b9e7fc Add PHP 8.2 to list of compatible versions 2022-12-08 07:17:50 -08:00
Zach Borboa 524dcad8ba Move PHP 8.2 out of future release; Add PHP 8.3 to continuous integration tests 2022-12-08 06:52:26 -08:00
github-actions[bot] 6813899890 Bump version: 9.12.0 → 9.12.1 9.12.1 2022-12-08 02:15:38 +00:00
Zach Borboa 68b6ce96a6 Make test commands work well with copy to clipboard action 2022-12-07 16:01:25 -08:00
Zach Borboa f0371da322 Merge pull request #745 from zachborboa/master
Include option constant that uses the CURLINFO_ prefix
2022-12-07 13:52:30 -08:00
Zach Borboa 0356af095f Include option constant that uses the CURLINFO_ prefix 2022-12-07 13:23:54 -08:00
github-actions[bot] ba417b2c4a Bump version: 9.11.1 → 9.12.0 9.12.0 2022-12-07 02:20:25 +00:00
Zach Borboa c25d5fe317 Merge pull request #744 from zachborboa/master
Add automatic gzip decoding of response
2022-12-05 19:07:23 -08:00
Zach Borboa 7b07ab5166 Add automatic gzip decoding of response (#740) 2022-12-05 18:41:56 -08:00
github-actions[bot] 07f65c4bc4 Bump version: 9.11.0 → 9.11.1 9.11.1 2022-12-06 02:13:41 +00:00
Zach Borboa 77af156b68 Merge pull request #743 from AmraniCh/remove-unused-import
change: remove unused namespace import
2022-12-05 08:14:53 -08:00
Shakir El Amrani d642a74772 change: remove unused namespace import 2022-12-05 13:11:50 +01:00
github-actions[bot] 53b7dad946 Bump version: 9.10.0 → 9.11.0 9.11.0 2022-12-05 01:29:16 +00:00
Zach Borboa ca3bcb3c6d Merge pull request #741 from zachborboa/master
Add Curl::diagnose() HTTP method check matches methods allowed
2022-12-04 13:39:38 -08:00
Zach Borboa b86aca6f74 Add Curl::diagnose() HTTP method check matches methods allowed 2022-12-04 13:09:07 -08:00
Zach Borboa c184ecdf1e Merge pull request #742 from zachborboa/fix-psalm
Add temporary fix missing template params
2022-12-04 12:27:45 -08:00
Zach Borboa a800387b6c Add temporary fix missing template params 2022-12-04 12:04:59 -08:00
github-actions[bot] b6defb4419 Bump version: 9.9.0 → 9.10.0 9.10.0 2022-11-07 01:31:19 +00:00
Zach Borboa 9a5c8ad559 Merge pull request #739 from zachborboa/master
Display request options in Curl::diagnose() output
2022-11-05 18:53:16 -07:00
github-actions[bot] 53f1d5670a Bump version: 9.8.0 → 9.9.0 9.9.0 2022-11-06 01:31:04 +00:00
Zach Borboa 4fb8e2867f Display request options in Curl::diagnose() output
Request options are now displayed when Curl::diagnose() is called and a
deferred constant curlOptionCodeConstants has been added.
2022-11-05 15:27:09 -07:00
Zach Borboa 9c427a4596 Merge pull request #738 from zachborboa/master
Fix MultiCurl::setCookieString()
2022-11-05 15:08:39 -07:00
Zach Borboa 99795d1d69 Fix MultiCurl::setCookieString() 2022-11-05 14:43:21 -07:00
Zach Borboa ca46c41733 Merge pull request #737 from zachborboa/master
Pass MultiCurl options to new Curl instances earlier
2022-11-05 14:21:30 -07:00