Update phpstan/phpstan requirement from ^1.11 to ^2.0 #300
Annotations
12 errors
Tests PHP nightly
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires phpspec/prophecy ^1.19 -> satisfiable by phpspec/prophecy[v1.19.0, v1.20.0].
- phpspec/prophecy v1.19.0 requires php ^7.2 || 8.0.* || 8.1.* || 8.2.* || 8.3.* -> your php version (8.5.0-dev) does not satisfy that requirement.
- phpspec/prophecy v1.20.0 requires php ^7.2 || 8.0.* || 8.1.* || 8.2.* || 8.3.* || 8.4.* -> your php version (8.5.0-dev) does not satisfy that requirement.
|
Tests PHP nightly
Process completed with exit code 2.
|
Tests PHP 8.2:
src/Cookies.php#L118
Parameter #2 $properties of method Slim\Psr7\Cookies::toHeader() expects array, mixed given.
|
Tests PHP 8.2:
src/Cookies.php#L134
Parameter #1 $string of function urlencode expects string, mixed given.
|
Tests PHP 8.2:
src/Cookies.php#L137
Binary operation "." between '; domain=' and mixed results in an error.
|
Tests PHP 8.2:
src/Cookies.php#L141
Binary operation "." between '; path=' and mixed results in an error.
|
Tests PHP 8.2:
src/Cookies.php#L148
Cannot cast mixed to int.
|
Tests PHP 8.2:
src/Cookies.php#L150
Strict comparison using !== between int<min, -1>|int<1, max> and 0 will always evaluate to true.
|
Tests PHP 8.2:
src/Cookies.php#L169
Parameter #1 $string of function strtolower expects string, mixed given.
|
Tests PHP 8.2:
src/Cookies.php#L172
Binary operation "." between '; SameSite=' and mixed results in an error.
|
Tests PHP 8.2:
src/Factory/RequestFactory.php#L49
Instanceof between Psr\Http\Message\UriInterface and Psr\Http\Message\UriInterface will always evaluate to true.
|
Tests PHP 8.2:
src/Factory/ServerRequestFactory.php#L56
Instanceof between Psr\Http\Message\UriInterface and Psr\Http\Message\UriInterface will always evaluate to true.
|