1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-01-17 21:38:16 +01:00
guzzle/phpstan-baseline.neon
Mponos George 45b360e8cb Fixes from typehints of the code (#2466)
* Fixes from typehints of the code

* Remove ignored errors from baseline

* Fix the error thrown by phpstan

* Update code base on typehints

* Fix codestyle issues

* Revert some changes on baseline

* Added more return types and typehints to functions

* Remove a wrong typehint on a function

* Fix phpstan
2019-12-21 09:31:26 +01:00

903 lines
34 KiB
Plaintext

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\\:\\:sendAsync\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#"
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: "#^Method GuzzleHttp\\\\Client\\:\\:requestAsync\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#"
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
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\\:\\: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\\<mixed, mixed\\>\\:\\:getArrayCopy\\(\\)\\.$#"
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\\<mixed, mixed\\>\\.$#"
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: "#^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\\:\\:toArray\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: src/Cookie/CookieJarInterface.php
-
message: "#^Parameter \\#1 \\$string of function strlen expects string, bool\\|float\\|int\\|string\\|null given\\.$#"
count: 1
path: src/Cookie/FileCookieJar.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\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: src/Cookie/SetCookie.php
-
message: "#^Method GuzzleHttp\\\\Cookie\\\\SetCookie\\:\\:getExpires\\(\\) 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: "#^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\\\\ConnectException\\:\\:__construct\\(\\) has parameter \\$handlerContext with no value type specified in iterable type array\\.$#"
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\\:\\: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\\\\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: "#^Negated boolean expression is always false\\.$#"
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\\:\\: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 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 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 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 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 parameter \\$ctx with no value type specified in iterable type array\\.$#"
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\\\\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 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
path: src/Handler/CurlMultiHandler.php
-
message: "#^Parameter \\#1 \\$mh of function curl_multi_setopt expects resource, resource\\|false given\\.$#"
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\\:\\:addRequest\\(\\) has parameter \\$entry with no value type specified in iterable type array\\.$#"
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: "#^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\\<int, mixed\\>, array given\\.$#"
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\\:\\:getLastOptions\\(\\) return type has no value type specified in iterable type array\\.$#"
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 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 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 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 \\$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: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:checkDecode\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: src/Handler/StreamHandler.php
-
message: "#^Argument of an invalid type array\\<int, array\\<string, int\\|string\\>\\>\\|null supplied for foreach, only iterables are supported\\.$#"
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 \\#1 \\$options of function stream_context_create expects array, array\\|null given\\.$#"
count: 1
path: src/Handler/StreamHandler.php
-
message: "#^Parameter \\#3 \\$use_include_path of function fopen expects bool, null given\\.$#"
count: 1
path: src/Handler/StreamHandler.php
-
message: "#^Parameter \\#1 \\$stream of function stream_set_timeout expects resource, resource\\|false given\\.$#"
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\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: src/Handler/StreamHandler.php
-
message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:add_proxy\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#"
count: 1
path: src/Handler/StreamHandler.php
-
message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:add_proxy\\(\\) has parameter \\$params with no value type specified in iterable type array\\.$#"
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 parameter \\$options with no value type specified in iterable type array\\.$#"
count: 1
path: src/Handler/StreamHandler.php
-
message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:add_timeout\\(\\) has parameter \\$params with no value type specified in iterable type array\\.$#"
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 parameter \\$options with no value type specified in iterable type array\\.$#"
count: 1
path: src/Handler/StreamHandler.php
-
message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:add_verify\\(\\) has parameter \\$params with no value type specified in iterable type array\\.$#"
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 parameter \\$options with no value type specified in iterable type array\\.$#"
count: 1
path: src/Handler/StreamHandler.php
-
message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:add_cert\\(\\) has parameter \\$params with no value type specified in iterable type array\\.$#"
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 parameter \\$options with no value type specified in iterable type array\\.$#"
count: 1
path: src/Handler/StreamHandler.php
-
message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:add_progress\\(\\) has parameter \\$params with no value type specified in iterable type array\\.$#"
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 parameter \\$options with no value type specified in iterable type array\\.$#"
count: 1
path: src/Handler/StreamHandler.php
-
message: "#^Method GuzzleHttp\\\\Handler\\\\StreamHandler\\:\\:add_debug\\(\\) has parameter \\$params with no value type specified in iterable type array\\.$#"
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 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 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\\:\\: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
path: src/HandlerStack.php
-
message: "#^Method GuzzleHttp\\\\MessageFormatter\\:\\:format\\(\\) should return string but returns string\\|null\\.$#"
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: "#^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: "#^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
path: src/RedirectMiddleware.php
-
message: "#^Parameter \\#1 \\$promise of method GuzzleHttp\\\\RedirectMiddleware\\:\\:withTracking\\(\\) expects GuzzleHttp\\\\Promise\\\\PromiseInterface, GuzzleHttp\\\\Promise\\\\PromiseInterface\\|Psr\\\\Http\\\\Message\\\\ResponseInterface given\\.$#"
count: 1
path: src/RedirectMiddleware.php
-
message: "#^Parameter \\#2 \\$value of method Psr\\\\Http\\\\Message\\\\MessageInterface\\:\\:withHeader\\(\\) expects array\\<string\\>\\|string, array\\<int\\|string\\> given\\.$#"
count: 1
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 no return typehint specified\\.$#"
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: "#^Property GuzzleHttp\\\\TransferStats\\:\\:\\$handlerStats type has no value type specified in iterable type array\\.$#"
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: "#^Function GuzzleHttp\\\\describe_type\\(\\) has parameter \\$input with no typehint specified\\.$#"
count: 1
path: src/functions.php
-
message: "#^Parameter \\#1 \\$str of function rtrim expects string, string\\|false given\\.$#"
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: "#^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: "#^Cannot access offset 0 on array\\<int, string\\>\\|false\\.$#"
count: 1
path: src/functions.php
-
message: "#^Function GuzzleHttp\\\\json_decode\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: src/functions.php
-
message: "#^Function GuzzleHttp\\\\json_encode\\(\\) should return string but returns string\\|false\\.$#"
count: 1
path: src/functions.php