Skip to content
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

Add curl stubs to prevent crashes #9283

Merged
merged 1 commit into from
Feb 13, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
21 changes: 21 additions & 0 deletions stubs/Php80.phpstub
Expand Up @@ -239,3 +239,24 @@ class DatePeriod implements IteratorAggregate
* @psalm-taint-sink ssrf $url
*/
function get_headers(string $url, bool $associative = false, $context = null) : array|false {}

final class CurlHandle
{
private function __construct()
{
}
}

final class CurlMultiHandle
{
private function __construct()
{
}
}

final class CurlShareHandle
{
private function __construct()
{
}
}