New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CURLOPT_COOKIEFILE should accept the empty string #8157
Comments
This is the original PR: phpstan/phpstan-src#1719 This is fix for a similar problem that was done in the past: phpstan/phpstan-src#1782 Feel free to contribute yours :) Thanks. |
jlherren
added a commit
to jlherren/phpstan-src
that referenced
this issue
Oct 13, 2022
This was referenced Oct 13, 2022
ondrejmirtes
pushed a commit
to phpstan/phpstan-src
that referenced
this issue
Oct 16, 2022
Fixed by phpstan/phpstan-src#1836 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Bug report
The curl option
CURLOPT_COOKIEFILE
is allowed to be empty, but PHPStan complains thatnon-empty-string
must be supplied. The documentation says:Code snippet that reproduces the problem
https://phpstan.org/r/65119d59-c9ef-43ff-9ecd-93860ce82f51
Expected output
No errors.
The text was updated successfully, but these errors were encountered: