Skip to content

Update phpstan/phpstan requirement from ^1.11 to ^2.1 #303

Update phpstan/phpstan requirement from ^1.11 to ^2.1

Update phpstan/phpstan requirement from ^1.11 to ^2.1 #303

Triggered via pull request January 1, 2025 23:34
Status Failure
Total duration 29s
Artifacts

tests.yml

on: pull_request
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 4 warnings
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.
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
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests PHP 8.3
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests PHP 8.2
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests PHP 8.1
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636