Update phpstan/phpstan requirement from ^1.11 to ^2.0 #301
Annotations
10 errors
Static analysis:
src/Cookies.php#L118
Parameter #2 $properties of method Slim\Psr7\Cookies::toHeader() expects array, mixed given.
|
Static analysis:
src/Cookies.php#L134
Parameter #1 $string of function urlencode expects string, mixed given.
|
Static analysis:
src/Cookies.php#L137
Binary operation "." between '; domain=' and mixed results in an error.
|
Static analysis:
src/Cookies.php#L141
Binary operation "." between '; path=' and mixed results in an error.
|
Static analysis:
src/Cookies.php#L148
Cannot cast mixed to int.
|
Static analysis:
src/Cookies.php#L150
Strict comparison using !== between int<min, -1>|int<1, max> and 0 will always evaluate to true.
|
Static analysis:
src/Cookies.php#L169
Parameter #1 $string of function strtolower expects string, mixed given.
|
Static analysis:
src/Cookies.php#L172
Binary operation "." between '; SameSite=' and mixed results in an error.
|
Static analysis:
src/Factory/RequestFactory.php#L49
Instanceof between Psr\Http\Message\UriInterface and Psr\Http\Message\UriInterface will always evaluate to true.
|
Static analysis:
src/Factory/ServerRequestFactory.php#L56
Instanceof between Psr\Http\Message\UriInterface and Psr\Http\Message\UriInterface will always evaluate to true.
|
Loading