mirror of
https://github.com/guzzle/guzzle.git
synced 2025-03-15 11:50:08 +01:00
* Update Curl is_resource() to work with PHP 8 Curl(Multi)Handle objects Updates `is_resource()` calls for curl handlers to properly work with PHP 8's `\CurlHandle` and `\CurlMultiHandle` objects. See https://php.watch/versions/8.0/resource-CurlHandle PHPDoc comments are updated to indicate that the variable/property can be either a resource or a Curl object. * Updated baselines Co-authored-by: Nyholm <tobias.nyholm@gmail.com>
113 lines
3.7 KiB
Plaintext
113 lines
3.7 KiB
Plaintext
parameters:
|
|
ignoreErrors:
|
|
-
|
|
message: "#^Parameter \\#1 \\$str of function strtolower expects string, int\\|string given\\.$#"
|
|
count: 1
|
|
path: src/Client.php
|
|
|
|
-
|
|
message: "#^Property GuzzleHttp\\\\Handler\\\\CurlFactory\\:\\:\\$handles has unknown class CurlHandle as its type\\.$#"
|
|
count: 1
|
|
path: src/Handler/CurlFactory.php
|
|
|
|
-
|
|
message: "#^Parameter \\#1 \\$ch of function curl_setopt_array expects resource, CurlHandle\\|resource given\\.$#"
|
|
count: 1
|
|
path: src/Handler/CurlFactory.php
|
|
|
|
-
|
|
message: "#^Parameter \\#1 \\$ch of function curl_close expects resource, CurlHandle\\|resource given\\.$#"
|
|
count: 1
|
|
path: src/Handler/CurlFactory.php
|
|
|
|
-
|
|
message: "#^Parameter \\#1 \\$ch of function curl_setopt expects resource, CurlHandle\\|resource given\\.$#"
|
|
count: 4
|
|
path: src/Handler/CurlFactory.php
|
|
|
|
-
|
|
message: "#^Parameter \\#1 \\$ch of function curl_reset expects resource, CurlHandle\\|resource given\\.$#"
|
|
count: 1
|
|
path: src/Handler/CurlFactory.php
|
|
|
|
-
|
|
message: "#^Parameter \\#1 \\$ch of function curl_getinfo expects resource, CurlHandle\\|resource given\\.$#"
|
|
count: 4
|
|
path: src/Handler/CurlFactory.php
|
|
|
|
-
|
|
message: "#^Parameter \\#1 \\$ch of function curl_error expects resource, CurlHandle\\|resource given\\.$#"
|
|
count: 1
|
|
path: src/Handler/CurlFactory.php
|
|
|
|
-
|
|
message: "#^Parameter \\#1 \\$str1 of function strcasecmp expects string, int\\|string given\\.$#"
|
|
count: 1
|
|
path: src/Handler/CurlFactory.php
|
|
|
|
-
|
|
message: "#^Parameter \\#1 \\$ch of function curl_exec expects resource, CurlHandle\\|resource given\\.$#"
|
|
count: 1
|
|
path: src/Handler/CurlHandler.php
|
|
|
|
-
|
|
message: "#^Parameter \\#1 \\$ch of function curl_errno expects resource, CurlHandle\\|resource given\\.$#"
|
|
count: 1
|
|
path: src/Handler/CurlHandler.php
|
|
|
|
-
|
|
message: "#^Property GuzzleHttp\\\\Handler\\\\CurlMultiHandler\\:\\:\\$active has unknown class CurlMultiHandle as its type\\.$#"
|
|
count: 1
|
|
path: src/Handler/CurlMultiHandler.php
|
|
|
|
-
|
|
message: "#^Return typehint of method GuzzleHttp\\\\Handler\\\\CurlMultiHandler\\:\\:__get\\(\\) has invalid type CurlMultiHandle\\.$#"
|
|
count: 1
|
|
path: src/Handler/CurlMultiHandler.php
|
|
|
|
-
|
|
message: "#^Parameter \\#1 \\$mh of function curl_multi_close expects resource, CurlMultiHandle\\|resource given\\.$#"
|
|
count: 1
|
|
path: src/Handler/CurlMultiHandler.php
|
|
|
|
-
|
|
message: "#^Parameter \\#1 \\$mh of function curl_multi_add_handle expects resource, CurlMultiHandle\\|resource given\\.$#"
|
|
count: 2
|
|
path: src/Handler/CurlMultiHandler.php
|
|
|
|
-
|
|
message: "#^Parameter \\#1 \\$mh of function curl_multi_select expects resource, CurlMultiHandle\\|resource given\\.$#"
|
|
count: 1
|
|
path: src/Handler/CurlMultiHandler.php
|
|
|
|
-
|
|
message: "#^Parameter \\#1 \\$mh of function curl_multi_exec expects resource, CurlMultiHandle\\|resource given\\.$#"
|
|
count: 1
|
|
path: src/Handler/CurlMultiHandler.php
|
|
|
|
-
|
|
message: "#^Parameter \\#1 \\$mh of function curl_multi_remove_handle expects resource, CurlMultiHandle\\|resource given\\.$#"
|
|
count: 2
|
|
path: src/Handler/CurlMultiHandler.php
|
|
|
|
-
|
|
message: "#^Parameter \\#1 \\$mh of function curl_multi_info_read expects resource, CurlMultiHandle\\|resource given\\.$#"
|
|
count: 1
|
|
path: src/Handler/CurlMultiHandler.php
|
|
|
|
-
|
|
message: "#^Property GuzzleHttp\\\\Handler\\\\EasyHandle\\:\\:\\$handle has unknown class CurlHandle as its type\\.$#"
|
|
count: 1
|
|
path: src/Handler/EasyHandle.php
|
|
|
|
-
|
|
message: "#^Argument of an invalid type \\(array\\|null\\) supplied for foreach, only iterables are supported\\.$#"
|
|
count: 1
|
|
path: src/Handler/StreamHandler.php
|
|
|
|
-
|
|
message: "#^Result of && is always false\\.$#"
|
|
count: 2
|
|
path: src/Middleware.php
|
|
|