Skip to content

Fix tests

Fix tests #94

Triggered via push June 14, 2024 01:58
Status Failure
Total duration 33s
Artifacts

PHPStan.yml

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

Annotations

30 errors
PHPStan - 8.2: src/Cache/Driver/TaggableFileStore.php#L77
Casting to string something that's already string.
PHPStan - 8.2: src/Routes/RouteDefinitionInterface.php#L20
Method UserFrosting\Routes\RouteDefinitionInterface::register() has parameter $app with generic class Slim\App but does not specify its types: TContainerInterface
PHPStan - 8.2: src/ServicesProvider/FrameworkService.php#L83
Method UserFrosting\ServicesProvider\FrameworkService::registerRoutes() has parameter $app with generic class Slim\App but does not specify its types: TContainerInterface
PHPStan - 8.2: src/ServicesProvider/FrameworkService.php#L97
Method UserFrosting\ServicesProvider\FrameworkService::registerMiddlewares() has parameter $app with generic class Slim\App but does not specify its types: TContainerInterface
PHPStan - 8.2: src/Testing/TestCase.php#L38
Property UserFrosting\Testing\TestCase::$app with generic class Slim\App does not specify its types: TContainerInterface
PHPStan - 8.2: src/UniformResourceLocator/StreamWrapper/Stream.php#L132
Parameter #2 $length of function fread expects int<1, max>, int<0, max> given.
PHPStan - 8.2: src/UserFrosting.php#L28
Property UserFrosting\UserFrosting::$app with generic class Slim\App does not specify its types: TContainerInterface
PHPStan - 8.2: src/UserFrosting.php#L35
Method UserFrosting\UserFrosting::getApp() return type with generic class Slim\App does not specify its types: TContainerInterface
PHPStan - 8.2: src/UserFrosting.php#L46
PHPDoc tag @var contains generic class Slim\App but does not specify its types: TContainerInterface
PHPStan - 8.2: tests/TestSprinkle/TestRoutesDefinitions.php#L18
Method UserFrosting\Tests\TestSprinkle\TestRoutesDefinitions::register() has parameter $app with generic class Slim\App but does not specify its types: TContainerInterface
PHPStan - 8.3: src/Cache/Driver/TaggableFileStore.php#L77
Casting to string something that's already string.
PHPStan - 8.3: src/Routes/RouteDefinitionInterface.php#L20
Method UserFrosting\Routes\RouteDefinitionInterface::register() has parameter $app with generic class Slim\App but does not specify its types: TContainerInterface
PHPStan - 8.3: src/ServicesProvider/FrameworkService.php#L83
Method UserFrosting\ServicesProvider\FrameworkService::registerRoutes() has parameter $app with generic class Slim\App but does not specify its types: TContainerInterface
PHPStan - 8.3: src/ServicesProvider/FrameworkService.php#L97
Method UserFrosting\ServicesProvider\FrameworkService::registerMiddlewares() has parameter $app with generic class Slim\App but does not specify its types: TContainerInterface
PHPStan - 8.3: src/Testing/TestCase.php#L38
Property UserFrosting\Testing\TestCase::$app with generic class Slim\App does not specify its types: TContainerInterface
PHPStan - 8.3: src/UniformResourceLocator/StreamWrapper/Stream.php#L132
Parameter #2 $length of function fread expects int<1, max>, int<0, max> given.
PHPStan - 8.3: src/UserFrosting.php#L28
Property UserFrosting\UserFrosting::$app with generic class Slim\App does not specify its types: TContainerInterface
PHPStan - 8.3: src/UserFrosting.php#L35
Method UserFrosting\UserFrosting::getApp() return type with generic class Slim\App does not specify its types: TContainerInterface
PHPStan - 8.3: src/UserFrosting.php#L46
PHPDoc tag @var contains generic class Slim\App but does not specify its types: TContainerInterface
PHPStan - 8.3: tests/TestSprinkle/TestRoutesDefinitions.php#L18
Method UserFrosting\Tests\TestSprinkle\TestRoutesDefinitions::register() has parameter $app with generic class Slim\App but does not specify its types: TContainerInterface
PHPStan - 8.1: src/Cache/Driver/TaggableFileStore.php#L77
Casting to string something that's already string.
PHPStan - 8.1: src/Routes/RouteDefinitionInterface.php#L20
Method UserFrosting\Routes\RouteDefinitionInterface::register() has parameter $app with generic class Slim\App but does not specify its types: TContainerInterface
PHPStan - 8.1: src/ServicesProvider/FrameworkService.php#L83
Method UserFrosting\ServicesProvider\FrameworkService::registerRoutes() has parameter $app with generic class Slim\App but does not specify its types: TContainerInterface
PHPStan - 8.1: src/ServicesProvider/FrameworkService.php#L97
Method UserFrosting\ServicesProvider\FrameworkService::registerMiddlewares() has parameter $app with generic class Slim\App but does not specify its types: TContainerInterface
PHPStan - 8.1: src/Testing/TestCase.php#L38
Property UserFrosting\Testing\TestCase::$app with generic class Slim\App does not specify its types: TContainerInterface
PHPStan - 8.1: src/UniformResourceLocator/StreamWrapper/Stream.php#L132
Parameter #2 $length of function fread expects int<1, max>, int<0, max> given.
PHPStan - 8.1: src/UserFrosting.php#L28
Property UserFrosting\UserFrosting::$app with generic class Slim\App does not specify its types: TContainerInterface
PHPStan - 8.1: src/UserFrosting.php#L35
Method UserFrosting\UserFrosting::getApp() return type with generic class Slim\App does not specify its types: TContainerInterface
PHPStan - 8.1: src/UserFrosting.php#L46
PHPDoc tag @var contains generic class Slim\App but does not specify its types: TContainerInterface
PHPStan - 8.1: tests/TestSprinkle/TestRoutesDefinitions.php#L18
Method UserFrosting\Tests\TestSprinkle\TestRoutesDefinitions::register() has parameter $app with generic class Slim\App but does not specify its types: TContainerInterface