mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
Add curl stubs to prevent crashes
This commit is contained in:
parent
9921625691
commit
8eebebef62
@ -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()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user