Skip to content

Update phpstan/phpstan requirement from ^1.12 to ^2.0 #588

Update phpstan/phpstan requirement from ^1.12 to ^2.0

Update phpstan/phpstan requirement from ^1.12 to ^2.0 #588

Triggered via push December 1, 2024 03:42
Status Failure
Total duration 47s
Artifacts

tests.yml

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

Annotations

10 errors
Tests PHP 8.2: Slim/CallableResolver.php#L57
Call to function is_string() with string will always evaluate to true.
Tests PHP 8.2: Slim/CallableResolver.php#L96
Call to function is_string() with string will always evaluate to true.
Tests PHP 8.2: Slim/Exception/HttpSpecializedException.php#L29
Parameter #2 $message of method Slim\Exception\HttpException::__construct() expects string, mixed given.
Tests PHP 8.2: Slim/Exception/HttpSpecializedException.php#L29
Parameter #3 $code of method Slim\Exception\HttpException::__construct() expects int, mixed given.
Tests PHP 8.2: Slim/Factory/Psr17/ServerRequestCreator.php#L42
Method Slim\Factory\Psr17\ServerRequestCreator::createServerRequestFromGlobals() should return Psr\Http\Message\ServerRequestInterface but returns mixed.
Tests PHP 8.2: Slim/Handlers/ErrorHandler.php#L192
Call to function is_string() with string will always evaluate to true.
Tests PHP 8.2: Slim/Handlers/ErrorHandler.php#L264
Binary operation ".=" between mixed and "\nTips: To display…" results in an error.
Tests PHP 8.2: Slim/Handlers/ErrorHandler.php#L267
Parameter #1 $error of method Slim\Handlers\ErrorHandler::logError() expects string, mixed given.
Tests PHP 8.2: Slim/Handlers/Strategies/RequestHandler.php#L46
Method Slim\Handlers\Strategies\RequestHandler::__invoke() should return Psr\Http\Message\ResponseInterface but returns mixed.
Tests PHP 8.2: Slim/Handlers/Strategies/RequestResponse.php#L38
Method Slim\Handlers\Strategies\RequestResponse::__invoke() should return Psr\Http\Message\ResponseInterface but returns mixed.