Skip to content

Use boolean values for curl_setopt options that expect bool type - #161

Merged
msyk merged 1 commit into
msyk:masterfrom
matsuo:fix-curl-setopt-type
Jul 26, 2026
Merged

Use boolean values for curl_setopt options that expect bool type#161
msyk merged 1 commit into
msyk:masterfrom
matsuo:fix-curl-setopt-type

Conversation

@matsuo

@matsuo matsuo commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

Replace integer 0/1 with false/true for CURLOPT_VERBOSE, CURLOPT_HEADER, CURLOPT_POST, and CURLOPT_SSL_VERIFYPEER to satisfy PHPStan level 5 strict type checking.

Replace integer 0/1 with false/true for CURLOPT_VERBOSE, CURLOPT_HEADER,
CURLOPT_POST, and CURLOPT_SSL_VERIFYPEER to satisfy PHPStan level 5
strict type checking.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@msyk
msyk merged commit 3198546 into msyk:master Jul 26, 2026
62 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants