diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 0a82f4be..0ce83f75 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -1,12 +1,30 @@ - - parameters: ignoreErrors: + - + message: "#^Property GuzzleHttp\\\\Client\\:\\:\\$config type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/Client.php + + - + message: "#^Method GuzzleHttp\\\\Client\\:\\:__construct\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Client.php + + - + message: "#^Method GuzzleHttp\\\\Client\\:\\:__call\\(\\) has parameter \\$args with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Client.php + - message: "#^Method GuzzleHttp\\\\Client\\:\\:__call\\(\\) should return GuzzleHttp\\\\Promise\\\\PromiseInterface but returns GuzzleHttp\\\\PromiseInterface\\|Psr\\\\Http\\\\Message\\\\ResponseInterface\\.$#" count: 1 path: src/Client.php + - + message: "#^Method GuzzleHttp\\\\Client\\:\\:sendAsync\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Client.php + - message: "#^Return typehint of method GuzzleHttp\\\\Client\\:\\:sendAsync\\(\\) has invalid type GuzzleHttp\\\\PromiseInterface\\.$#" count: 1 @@ -17,6 +35,11 @@ parameters: count: 1 path: src/Client.php + - + message: "#^Method GuzzleHttp\\\\Client\\:\\:send\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Client.php + - message: "#^PHPDoc tag @throws with type GuzzleHttp\\\\GuzzleException is not subtype of Throwable$#" count: 2 @@ -27,6 +50,11 @@ parameters: count: 2 path: src/Client.php + - + message: "#^Method GuzzleHttp\\\\Client\\:\\:requestAsync\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Client.php + - message: "#^Return typehint of method GuzzleHttp\\\\Client\\:\\:requestAsync\\(\\) has invalid type GuzzleHttp\\\\PromiseInterface\\.$#" count: 1 @@ -37,11 +65,46 @@ parameters: count: 1 path: src/Client.php + - + message: "#^Method GuzzleHttp\\\\Client\\:\\:request\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Client.php + + - + message: "#^Method GuzzleHttp\\\\Client\\:\\:buildUri\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Client.php + + - + message: "#^Method GuzzleHttp\\\\Client\\:\\:configureDefaults\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Client.php + - message: "#^Parameter \\#1 \\$str of function strtolower expects string, int\\|string given\\.$#" count: 1 path: src/Client.php + - + message: "#^Method GuzzleHttp\\\\Client\\:\\:prepareDefaults\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Client.php + + - + message: "#^Method GuzzleHttp\\\\Client\\:\\:prepareDefaults\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/Client.php + + - + message: "#^Method GuzzleHttp\\\\Client\\:\\:transfer\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Client.php + + - + message: "#^Method GuzzleHttp\\\\Client\\:\\:applyOptions\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Client.php + - message: "#^Parameter \\#2 \\$prefix of function http_build_query expects string, null given\\.$#" count: 1 @@ -52,6 +115,51 @@ parameters: count: 1 path: src/Client.php + - + message: "#^Method GuzzleHttp\\\\ClientInterface\\:\\:send\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#" + count: 1 + path: src/ClientInterface.php + + - + message: "#^Method GuzzleHttp\\\\ClientInterface\\:\\:sendAsync\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#" + count: 1 + path: src/ClientInterface.php + + - + message: "#^Method GuzzleHttp\\\\ClientInterface\\:\\:request\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#" + count: 1 + path: src/ClientInterface.php + + - + message: "#^Method GuzzleHttp\\\\ClientInterface\\:\\:requestAsync\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#" + count: 1 + path: src/ClientInterface.php + + - + message: "#^Method GuzzleHttp\\\\Cookie\\\\CookieJar\\:\\:__construct\\(\\) has parameter \\$cookieArray with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Cookie/CookieJar.php + + - + message: "#^Method GuzzleHttp\\\\Cookie\\\\CookieJar\\:\\:fromArray\\(\\) has parameter \\$cookies with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Cookie/CookieJar.php + + - + message: "#^Method GuzzleHttp\\\\Cookie\\\\CookieJar\\:\\:fromArray\\(\\) return type has no value type specified in iterable type GuzzleHttp\\\\Cookie\\\\CookieJar\\.$#" + count: 1 + path: src/Cookie/CookieJar.php + + - + message: "#^Method GuzzleHttp\\\\Cookie\\\\CookieJar\\:\\:getCookieValue\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Cookie/CookieJar.php + + - + message: "#^Method GuzzleHttp\\\\Cookie\\\\CookieJar\\:\\:getCookieValue\\(\\) has parameter \\$value with no typehint specified\\.$#" + count: 1 + path: src/Cookie/CookieJar.php + - message: "#^Result of \\|\\| is always false\\.$#" count: 1 @@ -62,46 +170,446 @@ parameters: count: 2 path: src/Cookie/CookieJar.php + - + message: "#^Method GuzzleHttp\\\\Cookie\\\\CookieJar\\:\\:toArray\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/Cookie/CookieJar.php + + - + message: "#^Call to an undefined method Traversable\\\\:\\:getArrayCopy\\(\\)\\.$#" + count: 1 + path: src/Cookie/CookieJar.php + + - + message: "#^Method GuzzleHttp\\\\Cookie\\\\CookieJar\\:\\:clear\\(\\) return type has no value type specified in iterable type GuzzleHttp\\\\Cookie\\\\CookieJarInterface\\.$#" + count: 1 + path: src/Cookie/CookieJar.php + + - + message: "#^Method GuzzleHttp\\\\Cookie\\\\CookieJar\\:\\:clear\\(\\) should return GuzzleHttp\\\\Cookie\\\\CookieJarInterface but return statement is missing\\.$#" + count: 1 + path: src/Cookie/CookieJar.php + - message: "#^Method GuzzleHttp\\\\Cookie\\\\CookieJar\\:\\:clear\\(\\) should return GuzzleHttp\\\\Cookie\\\\CookieJarInterface but empty return statement found\\.$#" count: 1 path: src/Cookie/CookieJar.php + - + message: "#^Method GuzzleHttp\\\\Cookie\\\\CookieJar\\:\\:clearSessionCookies\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Cookie/CookieJar.php + + - + message: "#^Method GuzzleHttp\\\\Cookie\\\\CookieJar\\:\\:count\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Cookie/CookieJar.php + + - + message: "#^Method GuzzleHttp\\\\Cookie\\\\CookieJar\\:\\:getIterator\\(\\) return type has no value type specified in iterable type Traversable\\\\.$#" + count: 1 + path: src/Cookie/CookieJar.php + + - + message: "#^Method GuzzleHttp\\\\Cookie\\\\CookieJar\\:\\:extractCookies\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Cookie/CookieJar.php + - message: "#^Parameter \\#3 \\$length of function substr expects int, int\\|false given\\.$#" count: 1 path: src/Cookie/CookieJar.php + - + message: "#^Method GuzzleHttp\\\\Cookie\\\\CookieJar\\:\\:removeCookieIfEmpty\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Cookie/CookieJar.php + + - + message: "#^Interface GuzzleHttp\\\\Cookie\\\\CookieJarInterface extends generic interface IteratorAggregate but does not specify its types\\: TKey, TValue$#" + count: 1 + path: src/Cookie/CookieJarInterface.php + + - + message: "#^Method GuzzleHttp\\\\Cookie\\\\CookieJarInterface\\:\\:extractCookies\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Cookie/CookieJarInterface.php + + - + message: "#^Method GuzzleHttp\\\\Cookie\\\\CookieJarInterface\\:\\:clear\\(\\) return type has no value type specified in iterable type GuzzleHttp\\\\Cookie\\\\CookieJarInterface\\.$#" + count: 1 + path: src/Cookie/CookieJarInterface.php + + - + message: "#^Method GuzzleHttp\\\\Cookie\\\\CookieJarInterface\\:\\:clearSessionCookies\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Cookie/CookieJarInterface.php + + - + message: "#^Method GuzzleHttp\\\\Cookie\\\\CookieJarInterface\\:\\:toArray\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/Cookie/CookieJarInterface.php + + - + message: "#^Method GuzzleHttp\\\\Cookie\\\\FileCookieJar\\:\\:save\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Cookie/FileCookieJar.php + + - + message: "#^Method GuzzleHttp\\\\Cookie\\\\FileCookieJar\\:\\:load\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Cookie/FileCookieJar.php + + - + message: "#^Method GuzzleHttp\\\\Cookie\\\\SessionCookieJar\\:\\:save\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Cookie/SessionCookieJar.php + + - + message: "#^Method GuzzleHttp\\\\Cookie\\\\SessionCookieJar\\:\\:load\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Cookie/SessionCookieJar.php + + - + message: "#^Property GuzzleHttp\\\\Cookie\\\\SetCookie\\:\\:\\$defaults type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/Cookie/SetCookie.php + + - + message: "#^Property GuzzleHttp\\\\Cookie\\\\SetCookie\\:\\:\\$data type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/Cookie/SetCookie.php + + - + message: "#^Method GuzzleHttp\\\\Cookie\\\\SetCookie\\:\\:__construct\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Cookie/SetCookie.php + - message: "#^Property GuzzleHttp\\\\Cookie\\\\SetCookie\\:\\:\\$data \\(array\\) does not accept array\\|null\\.$#" count: 1 path: src/Cookie/SetCookie.php + - + message: "#^Parameter \\#1 \\$timestamp of method GuzzleHttp\\\\Cookie\\\\SetCookie\\:\\:setExpires\\(\\) expects int, mixed given\\.$#" + count: 1 + path: src/Cookie/SetCookie.php + + - + message: "#^Method GuzzleHttp\\\\Cookie\\\\SetCookie\\:\\:toArray\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Cookie/SetCookie.php + + - + message: "#^Method GuzzleHttp\\\\Cookie\\\\SetCookie\\:\\:setName\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Cookie/SetCookie.php + + - + message: "#^Method GuzzleHttp\\\\Cookie\\\\SetCookie\\:\\:setValue\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Cookie/SetCookie.php + + - + message: "#^Method GuzzleHttp\\\\Cookie\\\\SetCookie\\:\\:setDomain\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Cookie/SetCookie.php + + - + message: "#^Method GuzzleHttp\\\\Cookie\\\\SetCookie\\:\\:setPath\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Cookie/SetCookie.php + + - + message: "#^Method GuzzleHttp\\\\Cookie\\\\SetCookie\\:\\:setMaxAge\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Cookie/SetCookie.php + + - + message: "#^Method GuzzleHttp\\\\Cookie\\\\SetCookie\\:\\:setExpires\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Cookie/SetCookie.php + - message: "#^Else branch is unreachable because ternary operator condition is always true\\.$#" count: 1 path: src/Cookie/SetCookie.php + - + message: "#^Method GuzzleHttp\\\\Cookie\\\\SetCookie\\:\\:setSecure\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Cookie/SetCookie.php + + - + message: "#^Method GuzzleHttp\\\\Cookie\\\\SetCookie\\:\\:setDiscard\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Cookie/SetCookie.php + + - + message: "#^Method GuzzleHttp\\\\Cookie\\\\SetCookie\\:\\:setHttpOnly\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Cookie/SetCookie.php + - message: "#^Parameter \\#1 \\$str of function ltrim expects string, string\\|null given\\.$#" count: 1 path: src/Cookie/SetCookie.php + - + message: "#^Method GuzzleHttp\\\\Exception\\\\BadResponseException\\:\\:__construct\\(\\) has parameter \\$handlerContext with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Exception/BadResponseException.php + + - + message: "#^Method GuzzleHttp\\\\Exception\\\\BadResponseException\\:\\:__construct\\(\\) has parameter \\$message with no typehint specified\\.$#" + count: 1 + path: src/Exception/BadResponseException.php + + - + message: "#^Method GuzzleHttp\\\\Exception\\\\ConnectException\\:\\:__construct\\(\\) has parameter \\$handlerContext with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Exception/ConnectException.php + + - + message: "#^Method GuzzleHttp\\\\Exception\\\\ConnectException\\:\\:__construct\\(\\) has parameter \\$message with no typehint specified\\.$#" + count: 1 + path: src/Exception/ConnectException.php + + - + message: "#^Property GuzzleHttp\\\\Exception\\\\RequestException\\:\\:\\$handlerContext type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/Exception/RequestException.php + + - + message: "#^Method GuzzleHttp\\\\Exception\\\\RequestException\\:\\:__construct\\(\\) has parameter \\$handlerContext with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Exception/RequestException.php + + - + message: "#^Method GuzzleHttp\\\\Exception\\\\RequestException\\:\\:__construct\\(\\) has parameter \\$message with no typehint specified\\.$#" + count: 1 + path: src/Exception/RequestException.php + + - + message: "#^Method GuzzleHttp\\\\Exception\\\\RequestException\\:\\:create\\(\\) has parameter \\$ctx with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Exception/RequestException.php + + - + message: "#^Method GuzzleHttp\\\\Exception\\\\RequestException\\:\\:getHandlerContext\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/Exception/RequestException.php + + - + message: "#^Property GuzzleHttp\\\\Exception\\\\SeekException\\:\\:\\$stream has no typehint specified\\.$#" + count: 1 + path: src/Exception/SeekException.php + + - + message: "#^Method GuzzleHttp\\\\Exception\\\\SeekException\\:\\:__construct\\(\\) has parameter \\$msg with no typehint specified\\.$#" + count: 1 + path: src/Exception/SeekException.php + + - + message: "#^Method GuzzleHttp\\\\Exception\\\\SeekException\\:\\:__construct\\(\\) has parameter \\$pos with no typehint specified\\.$#" + count: 1 + path: src/Exception/SeekException.php + + - + message: "#^Property GuzzleHttp\\\\Handler\\\\CurlFactory\\:\\:\\$handles type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/Handler/CurlFactory.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\CurlFactory\\:\\:create\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Handler/CurlFactory.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\CurlFactory\\:\\:release\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Handler/CurlFactory.php + - message: "#^Negated boolean expression is always false\\.$#" count: 1 path: src/Handler/CurlFactory.php + - + message: "#^Method GuzzleHttp\\\\Handler\\\\CurlFactory\\:\\:invokeStats\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Handler/CurlFactory.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\CurlFactory\\:\\:finishError\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Handler/CurlFactory.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\CurlFactory\\:\\:createRejection\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Handler/CurlFactory.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\CurlFactory\\:\\:createRejection\\(\\) has parameter \\$ctx with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Handler/CurlFactory.php + - message: "#^If condition is always true\\.$#" count: 1 path: src/Handler/CurlFactory.php + - + message: "#^Unreachable statement \\- code above always terminates\\.$#" + count: 1 + path: src/Handler/CurlFactory.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\CurlFactory\\:\\:getDefaultConf\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Handler/CurlFactory.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\CurlFactory\\:\\:applyMethod\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Handler/CurlFactory.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\CurlFactory\\:\\:applyMethod\\(\\) has parameter \\$conf with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Handler/CurlFactory.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\CurlFactory\\:\\:applyBody\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Handler/CurlFactory.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\CurlFactory\\:\\:applyBody\\(\\) has parameter \\$conf with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Handler/CurlFactory.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\CurlFactory\\:\\:applyBody\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Handler/CurlFactory.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\CurlFactory\\:\\:applyHeaders\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Handler/CurlFactory.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\CurlFactory\\:\\:applyHeaders\\(\\) has parameter \\$conf with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Handler/CurlFactory.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\CurlFactory\\:\\:removeHeader\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Handler/CurlFactory.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\CurlFactory\\:\\:removeHeader\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#" + 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: "#^Method GuzzleHttp\\\\Handler\\\\CurlFactory\\:\\:applyHandlerOptions\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Handler/CurlFactory.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\CurlFactory\\:\\:applyHandlerOptions\\(\\) has parameter \\$conf with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Handler/CurlFactory.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\CurlFactory\\:\\:retryFailedRewind\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Handler/CurlFactory.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\CurlFactory\\:\\:retryFailedRewind\\(\\) has parameter \\$ctx with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Handler/CurlFactory.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\CurlFactory\\:\\:createHeaderFn\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Handler/CurlFactory.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\CurlFactoryInterface\\:\\:create\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Handler/CurlFactoryInterface.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\CurlFactoryInterface\\:\\:release\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Handler/CurlFactoryInterface.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\CurlHandler\\:\\:__construct\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Handler/CurlHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\CurlHandler\\:\\:__invoke\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Handler/CurlHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\CurlHandler\\:\\:__invoke\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Handler/CurlHandler.php + + - + message: "#^Property GuzzleHttp\\\\Handler\\\\CurlMultiHandler\\:\\:\\$selectTimeout has no typehint specified\\.$#" + count: 1 + path: src/Handler/CurlMultiHandler.php + + - + message: "#^Property GuzzleHttp\\\\Handler\\\\CurlMultiHandler\\:\\:\\$active has no typehint specified\\.$#" + count: 1 + path: src/Handler/CurlMultiHandler.php + + - + message: "#^Property GuzzleHttp\\\\Handler\\\\CurlMultiHandler\\:\\:\\$handles has no typehint specified\\.$#" + count: 1 + path: src/Handler/CurlMultiHandler.php + + - + message: "#^Property GuzzleHttp\\\\Handler\\\\CurlMultiHandler\\:\\:\\$delays has no typehint specified\\.$#" + count: 1 + path: src/Handler/CurlMultiHandler.php + + - + message: "#^Property GuzzleHttp\\\\Handler\\\\CurlMultiHandler\\:\\:\\$options has no typehint specified\\.$#" + count: 1 + path: src/Handler/CurlMultiHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\CurlMultiHandler\\:\\:__construct\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Handler/CurlMultiHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\CurlMultiHandler\\:\\:__get\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Handler/CurlMultiHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\CurlMultiHandler\\:\\:__get\\(\\) has parameter \\$name with no typehint specified\\.$#" + count: 1 + path: src/Handler/CurlMultiHandler.php + - message: "#^Property GuzzleHttp\\\\Handler\\\\CurlMultiHandler\\:\\:\\$_mh \\(resource\\) does not accept resource\\|false\\.$#" count: 1 @@ -112,31 +620,261 @@ parameters: count: 1 path: src/Handler/CurlMultiHandler.php + - + message: "#^Method GuzzleHttp\\\\Handler\\\\CurlMultiHandler\\:\\:__invoke\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Handler/CurlMultiHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\CurlMultiHandler\\:\\:__invoke\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Handler/CurlMultiHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\CurlMultiHandler\\:\\:tick\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Handler/CurlMultiHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\CurlMultiHandler\\:\\:execute\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Handler/CurlMultiHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\CurlMultiHandler\\:\\:addRequest\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Handler/CurlMultiHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\CurlMultiHandler\\:\\:addRequest\\(\\) has parameter \\$entry with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Handler/CurlMultiHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\CurlMultiHandler\\:\\:processMessages\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Handler/CurlMultiHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\CurlMultiHandler\\:\\:timeToNext\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Handler/CurlMultiHandler.php + + - + message: "#^Property GuzzleHttp\\\\Handler\\\\EasyHandle\\:\\:\\$headers type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/Handler/EasyHandle.php + + - + message: "#^Property GuzzleHttp\\\\Handler\\\\EasyHandle\\:\\:\\$options type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/Handler/EasyHandle.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\EasyHandle\\:\\:createResponse\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Handler/EasyHandle.php + - message: "#^Parameter \\#1 \\$status of class GuzzleHttp\\\\Psr7\\\\Response constructor expects int, string given\\.$#" count: 1 path: src/Handler/EasyHandle.php + - + message: "#^Method GuzzleHttp\\\\Handler\\\\EasyHandle\\:\\:__get\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Handler/EasyHandle.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\EasyHandle\\:\\:__get\\(\\) has parameter \\$name with no typehint specified\\.$#" + count: 1 + path: src/Handler/EasyHandle.php + + - + message: "#^Property GuzzleHttp\\\\Handler\\\\MockHandler\\:\\:\\$queue has no typehint specified\\.$#" + count: 1 + path: src/Handler/MockHandler.php + + - + message: "#^Property GuzzleHttp\\\\Handler\\\\MockHandler\\:\\:\\$lastRequest has no typehint specified\\.$#" + count: 1 + path: src/Handler/MockHandler.php + + - + message: "#^Property GuzzleHttp\\\\Handler\\\\MockHandler\\:\\:\\$lastOptions has no typehint specified\\.$#" + count: 1 + path: src/Handler/MockHandler.php + + - + message: "#^Property GuzzleHttp\\\\Handler\\\\MockHandler\\:\\:\\$onFulfilled has no typehint specified\\.$#" + count: 1 + path: src/Handler/MockHandler.php + + - + message: "#^Property GuzzleHttp\\\\Handler\\\\MockHandler\\:\\:\\$onRejected has no typehint specified\\.$#" + count: 1 + path: src/Handler/MockHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\MockHandler\\:\\:createWithMiddleware\\(\\) has parameter \\$queue with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Handler/MockHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\MockHandler\\:\\:__construct\\(\\) has parameter \\$queue with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Handler/MockHandler.php + - message: "#^Parameter \\#2 \\$parameters of function call_user_func_array expects array\\, array given\\.$#" count: 1 path: src/Handler/MockHandler.php + - + message: "#^Method GuzzleHttp\\\\Handler\\\\MockHandler\\:\\:__invoke\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Handler/MockHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\MockHandler\\:\\:__invoke\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Handler/MockHandler.php + - message: "#^Binary operation \"\\*\" between float\\|int\\|string and 1000 results in an error\\.$#" count: 1 path: src/Handler/MockHandler.php + - + message: "#^Method GuzzleHttp\\\\Handler\\\\MockHandler\\:\\:append\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Handler/MockHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\MockHandler\\:\\:getLastOptions\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/Handler/MockHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\MockHandler\\:\\:reset\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Handler/MockHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\MockHandler\\:\\:invokeStats\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Handler/MockHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\MockHandler\\:\\:invokeStats\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Handler/MockHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\MockHandler\\:\\:invokeStats\\(\\) has parameter \\$reason with no typehint specified\\.$#" + count: 1 + path: src/Handler/MockHandler.php + + - + message: "#^Property GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:\\$lastHeaders has no typehint specified\\.$#" + count: 1 + path: src/Handler/StreamHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:__invoke\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Handler/StreamHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:invokeStats\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Handler/StreamHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:invokeStats\\(\\) has parameter \\$error with no typehint specified\\.$#" + count: 1 + path: src/Handler/StreamHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:invokeStats\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Handler/StreamHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:invokeStats\\(\\) has parameter \\$startTime with no typehint specified\\.$#" + count: 1 + path: src/Handler/StreamHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:createResponse\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Handler/StreamHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:createResponse\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Handler/StreamHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:createResponse\\(\\) has parameter \\$startTime with no typehint specified\\.$#" + count: 1 + path: src/Handler/StreamHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:createResponse\\(\\) has parameter \\$stream with no typehint specified\\.$#" + count: 1 + path: src/Handler/StreamHandler.php + - message: "#^Parameter \\#1 \\$status of class GuzzleHttp\\\\Psr7\\\\Response constructor expects int, string given\\.$#" count: 1 path: src/Handler/StreamHandler.php + - + message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:createSink\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Handler/StreamHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:createSink\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Handler/StreamHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:checkDecode\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Handler/StreamHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:checkDecode\\(\\) has parameter \\$headers with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Handler/StreamHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:checkDecode\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Handler/StreamHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:checkDecode\\(\\) has parameter \\$stream with no typehint specified\\.$#" + count: 1 + path: src/Handler/StreamHandler.php + - message: "#^Argument of an invalid type array\\\\>\\|null supplied for foreach, only iterables are supported\\.$#" count: 1 path: src/Handler/StreamHandler.php + - + message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:createStream\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Handler/StreamHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:createStream\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Handler/StreamHandler.php + - message: "#^Parameter \\#3 \\$use_include_path of function fopen expects bool, null given\\.$#" count: 1 @@ -148,10 +886,215 @@ parameters: path: src/Handler/StreamHandler.php - - message: "#^Parameter \\#3 \\$microseconds of function stream_set_timeout expects int, float\\|int given\\.$#" + message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:resolveHost\\(\\) has no return typehint specified\\.$#" count: 1 path: src/Handler/StreamHandler.php + - + message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:resolveHost\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Handler/StreamHandler.php + + - + message: "#^Cannot access offset 0 on array\\|false\\.$#" + count: 2 + path: src/Handler/StreamHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:getDefaultContext\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Handler/StreamHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:add_proxy\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Handler/StreamHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:add_proxy\\(\\) has parameter \\$options with no typehint specified\\.$#" + count: 1 + path: src/Handler/StreamHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:add_proxy\\(\\) has parameter \\$params with no typehint specified\\.$#" + count: 1 + path: src/Handler/StreamHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:add_proxy\\(\\) has parameter \\$value with no typehint specified\\.$#" + count: 1 + path: src/Handler/StreamHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:add_timeout\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Handler/StreamHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:add_timeout\\(\\) has parameter \\$options with no typehint specified\\.$#" + count: 1 + path: src/Handler/StreamHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:add_timeout\\(\\) has parameter \\$params with no typehint specified\\.$#" + count: 1 + path: src/Handler/StreamHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:add_timeout\\(\\) has parameter \\$value with no typehint specified\\.$#" + count: 1 + path: src/Handler/StreamHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:add_verify\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Handler/StreamHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:add_verify\\(\\) has parameter \\$options with no typehint specified\\.$#" + count: 1 + path: src/Handler/StreamHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:add_verify\\(\\) has parameter \\$params with no typehint specified\\.$#" + count: 1 + path: src/Handler/StreamHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:add_verify\\(\\) has parameter \\$value with no typehint specified\\.$#" + count: 1 + path: src/Handler/StreamHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:add_cert\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Handler/StreamHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:add_cert\\(\\) has parameter \\$options with no typehint specified\\.$#" + count: 1 + path: src/Handler/StreamHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:add_cert\\(\\) has parameter \\$params with no typehint specified\\.$#" + count: 1 + path: src/Handler/StreamHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:add_cert\\(\\) has parameter \\$value with no typehint specified\\.$#" + count: 1 + path: src/Handler/StreamHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:add_progress\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Handler/StreamHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:add_progress\\(\\) has parameter \\$options with no typehint specified\\.$#" + count: 1 + path: src/Handler/StreamHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:add_progress\\(\\) has parameter \\$params with no typehint specified\\.$#" + count: 1 + path: src/Handler/StreamHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:add_progress\\(\\) has parameter \\$value with no typehint specified\\.$#" + count: 1 + path: src/Handler/StreamHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:add_debug\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Handler/StreamHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:add_debug\\(\\) has parameter \\$options with no typehint specified\\.$#" + count: 1 + path: src/Handler/StreamHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:add_debug\\(\\) has parameter \\$params with no typehint specified\\.$#" + count: 1 + path: src/Handler/StreamHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:add_debug\\(\\) has parameter \\$value with no typehint specified\\.$#" + count: 1 + path: src/Handler/StreamHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:addNotification\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Handler/StreamHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:addNotification\\(\\) has parameter \\$params with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Handler/StreamHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:callArray\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/Handler/StreamHandler.php + + - + message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:callArray\\(\\) has parameter \\$functions with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Handler/StreamHandler.php + + - + message: "#^Property GuzzleHttp\\\\HandlerStack\\:\\:\\$stack type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/HandlerStack.php + + - + message: "#^Method GuzzleHttp\\\\HandlerStack\\:\\:__invoke\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#" + count: 1 + path: src/HandlerStack.php + + - + message: "#^Method GuzzleHttp\\\\HandlerStack\\:\\:setHandler\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/HandlerStack.php + + - + message: "#^Method GuzzleHttp\\\\HandlerStack\\:\\:unshift\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/HandlerStack.php + + - + message: "#^Method GuzzleHttp\\\\HandlerStack\\:\\:push\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/HandlerStack.php + + - + message: "#^Method GuzzleHttp\\\\HandlerStack\\:\\:before\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/HandlerStack.php + + - + message: "#^Method GuzzleHttp\\\\HandlerStack\\:\\:after\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/HandlerStack.php + + - + message: "#^Method GuzzleHttp\\\\HandlerStack\\:\\:remove\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/HandlerStack.php + + - + message: "#^Method GuzzleHttp\\\\HandlerStack\\:\\:splice\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/HandlerStack.php + + - + message: "#^Method GuzzleHttp\\\\HandlerStack\\:\\:debugCallable\\(\\) has parameter \\$fn with no value type specified in iterable type array\\.$#" + count: 1 + path: src/HandlerStack.php + - message: "#^Parameter \\#1 \\$obj of function spl_object_hash expects object, callable given\\.$#" count: 1 @@ -162,11 +1105,31 @@ parameters: count: 1 path: src/MessageFormatter.php + - + message: "#^Method GuzzleHttp\\\\Middleware\\:\\:history\\(\\) has parameter \\$container with generic interface ArrayAccess but does not specify its types\\: TKey, TValue$#" + count: 1 + path: src/Middleware.php + + - + message: "#^Method GuzzleHttp\\\\Middleware\\:\\:history\\(\\) has parameter \\$container with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Middleware.php + - message: "#^Result of && is always false\\.$#" count: 1 path: src/Middleware.php + - + message: "#^Method GuzzleHttp\\\\Pool\\:\\:__construct\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Pool.php + + - + message: "#^Method GuzzleHttp\\\\Pool\\:\\:__construct\\(\\) has parameter \\$requests with no value type specified in iterable type array\\|Iterator\\.$#" + count: 1 + path: src/Pool.php + - message: "#^Return typehint of method GuzzleHttp\\\\Pool\\:\\:promise\\(\\) has invalid type GuzzleHttp\\\\GuzzleHttp\\\\Promise\\\\Promise\\.$#" count: 1 @@ -177,11 +1140,76 @@ parameters: count: 1 path: src/Pool.php + - + message: "#^Method GuzzleHttp\\\\Pool\\:\\:batch\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Pool.php + + - + message: "#^Method GuzzleHttp\\\\Pool\\:\\:batch\\(\\) has parameter \\$requests with no value type specified in iterable type array\\|Iterator\\.$#" + count: 1 + path: src/Pool.php + + - + message: "#^Method GuzzleHttp\\\\Pool\\:\\:batch\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/Pool.php + + - + message: "#^Unsafe usage of new static\\(\\)\\.$#" + count: 1 + path: src/Pool.php + - message: "#^Call to method wait\\(\\) on an unknown class GuzzleHttp\\\\GuzzleHttp\\\\Promise\\\\Promise\\.$#" count: 1 path: src/Pool.php + - + message: "#^Method GuzzleHttp\\\\Pool\\:\\:cmpCallback\\(\\) has parameter \\$name with no typehint specified\\.$#" + count: 1 + path: src/Pool.php + + - + message: "#^Method GuzzleHttp\\\\Pool\\:\\:cmpCallback\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Pool.php + + - + message: "#^Method GuzzleHttp\\\\Pool\\:\\:cmpCallback\\(\\) has parameter \\$results with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Pool.php + + - + message: "#^Method GuzzleHttp\\\\PrepareBodyMiddleware\\:\\:__invoke\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#" + count: 1 + path: src/PrepareBodyMiddleware.php + + - + message: "#^Method GuzzleHttp\\\\PrepareBodyMiddleware\\:\\:addExpectHeader\\(\\) has parameter \\$modify with no value type specified in iterable type array\\.$#" + count: 1 + path: src/PrepareBodyMiddleware.php + + - + message: "#^Method GuzzleHttp\\\\PrepareBodyMiddleware\\:\\:addExpectHeader\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#" + count: 1 + path: src/PrepareBodyMiddleware.php + + - + message: "#^Property GuzzleHttp\\\\RedirectMiddleware\\:\\:\\$defaultSettings has no typehint specified\\.$#" + count: 1 + path: src/RedirectMiddleware.php + + - + message: "#^Method GuzzleHttp\\\\RedirectMiddleware\\:\\:__invoke\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#" + count: 1 + path: src/RedirectMiddleware.php + + - + message: "#^Method GuzzleHttp\\\\RedirectMiddleware\\:\\:checkRedirect\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#" + count: 1 + path: src/RedirectMiddleware.php + - message: "#^Parameter \\#1 \\$str of function substr expects string, int given\\.$#" count: 1 @@ -192,16 +1220,151 @@ parameters: count: 1 path: src/RedirectMiddleware.php + - + message: "#^Method GuzzleHttp\\\\RedirectMiddleware\\:\\:withTracking\\(\\) has parameter \\$statusCode with no typehint specified\\.$#" + count: 1 + path: src/RedirectMiddleware.php + + - + message: "#^Method GuzzleHttp\\\\RedirectMiddleware\\:\\:withTracking\\(\\) has parameter \\$uri with no typehint specified\\.$#" + count: 1 + path: src/RedirectMiddleware.php + - message: "#^Parameter \\#2 \\$value of method Psr\\\\Http\\\\Message\\\\MessageInterface\\:\\:withHeader\\(\\) expects array\\\\|string, array given\\.$#" count: 2 path: src/RedirectMiddleware.php + - + message: "#^Method GuzzleHttp\\\\RedirectMiddleware\\:\\:guardMax\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#" + count: 1 + path: src/RedirectMiddleware.php + + - + message: "#^Method GuzzleHttp\\\\RedirectMiddleware\\:\\:modifyRequest\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#" + count: 1 + path: src/RedirectMiddleware.php + + - + message: "#^Method GuzzleHttp\\\\RedirectMiddleware\\:\\:redirectUri\\(\\) has parameter \\$protocols with no value type specified in iterable type array\\.$#" + count: 1 + path: src/RedirectMiddleware.php + + - + message: "#^Method GuzzleHttp\\\\RetryMiddleware\\:\\:__invoke\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#" + count: 1 + path: src/RetryMiddleware.php + + - + message: "#^Method GuzzleHttp\\\\RetryMiddleware\\:\\:onFulfilled\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#" + count: 1 + path: src/RetryMiddleware.php + + - + message: "#^Method GuzzleHttp\\\\RetryMiddleware\\:\\:onRejected\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#" + count: 1 + path: src/RetryMiddleware.php + + - + message: "#^Method GuzzleHttp\\\\RetryMiddleware\\:\\:doRetry\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#" + count: 1 + path: src/RetryMiddleware.php + - message: "#^Method GuzzleHttp\\\\RetryMiddleware\\:\\:doRetry\\(\\) should return GuzzleHttp\\\\RetryMiddleware but returns GuzzleHttp\\\\Promise\\\\PromiseInterface\\.$#" count: 1 path: src/RetryMiddleware.php + - + message: "#^Property GuzzleHttp\\\\TransferStats\\:\\:\\$request has no typehint specified\\.$#" + count: 1 + path: src/TransferStats.php + + - + message: "#^Property GuzzleHttp\\\\TransferStats\\:\\:\\$response has no typehint specified\\.$#" + count: 1 + path: src/TransferStats.php + + - + message: "#^Property GuzzleHttp\\\\TransferStats\\:\\:\\$transferTime has no typehint specified\\.$#" + count: 1 + path: src/TransferStats.php + + - + message: "#^Property GuzzleHttp\\\\TransferStats\\:\\:\\$handlerStats has no typehint specified\\.$#" + count: 1 + path: src/TransferStats.php + + - + message: "#^Property GuzzleHttp\\\\TransferStats\\:\\:\\$handlerErrorData has no typehint specified\\.$#" + count: 1 + path: src/TransferStats.php + + - + message: "#^Method GuzzleHttp\\\\TransferStats\\:\\:__construct\\(\\) has parameter \\$handlerStats with no value type specified in iterable type array\\.$#" + count: 1 + path: src/TransferStats.php + + - + message: "#^Method GuzzleHttp\\\\TransferStats\\:\\:getHandlerStats\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/TransferStats.php + + - + message: "#^Property GuzzleHttp\\\\UriTemplate\\:\\:\\$variables type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/UriTemplate.php + + - + message: "#^Property GuzzleHttp\\\\UriTemplate\\:\\:\\$operatorHash type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/UriTemplate.php + + - + message: "#^Property GuzzleHttp\\\\UriTemplate\\:\\:\\$delims type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/UriTemplate.php + + - + message: "#^Property GuzzleHttp\\\\UriTemplate\\:\\:\\$delimsPct type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/UriTemplate.php + + - + message: "#^Method GuzzleHttp\\\\UriTemplate\\:\\:expand\\(\\) has no return typehint specified\\.$#" + count: 1 + path: src/UriTemplate.php + + - + message: "#^Method GuzzleHttp\\\\UriTemplate\\:\\:expand\\(\\) has parameter \\$template with no typehint specified\\.$#" + count: 1 + path: src/UriTemplate.php + + - + message: "#^Method GuzzleHttp\\\\UriTemplate\\:\\:expand\\(\\) has parameter \\$variables with no value type specified in iterable type array\\.$#" + count: 1 + path: src/UriTemplate.php + + - + message: "#^Method GuzzleHttp\\\\UriTemplate\\:\\:parseExpression\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/UriTemplate.php + + - + message: "#^Method GuzzleHttp\\\\UriTemplate\\:\\:expandMatch\\(\\) has parameter \\$matches with no value type specified in iterable type array\\.$#" + count: 1 + path: src/UriTemplate.php + + - + message: "#^Method GuzzleHttp\\\\UriTemplate\\:\\:isAssoc\\(\\) has parameter \\$array with no value type specified in iterable type array\\.$#" + count: 1 + path: src/UriTemplate.php + + - + message: "#^Function GuzzleHttp\\\\uri_template\\(\\) has parameter \\$variables with no value type specified in iterable type array\\.$#" + count: 1 + path: src/functions.php + - message: "#^Function uri_template not found\\.$#" count: 1 @@ -212,13 +1375,38 @@ parameters: count: 1 path: src/functions.php + - + message: "#^Function GuzzleHttp\\\\headers_from_lines\\(\\) has parameter \\$lines with no value type specified in iterable type iterable\\.$#" + count: 1 + path: src/functions.php + + - + message: "#^Function GuzzleHttp\\\\headers_from_lines\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/functions.php + - message: "#^Function GuzzleHttp\\\\debug_resource\\(\\) should return resource but returns resource\\|false\\.$#" count: 1 path: src/functions.php - - message: "#^Parameter \\#1 \\$str of function substr expects string, string\\|null given\\.$#" + message: "#^Function GuzzleHttp\\\\normalize_header_keys\\(\\) has parameter \\$headers with no value type specified in iterable type array\\.$#" + count: 1 + path: src/functions.php + + - + message: "#^Function GuzzleHttp\\\\normalize_header_keys\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/functions.php + + - + message: "#^Function GuzzleHttp\\\\is_host_in_noproxy\\(\\) has parameter \\$noProxyArray with no value type specified in iterable type array\\.$#" + count: 1 + path: src/functions.php + + - + message: "#^Cannot access offset 0 on array\\\\|false\\.$#" count: 1 path: src/functions.php @@ -227,4 +1415,3 @@ parameters: count: 1 path: src/functions.php -