Skip to content

aio-interface: Improve psalm #888

aio-interface: Improve psalm

aio-interface: Improve psalm #888

Triggered via pull request October 2, 2024 16:31
Status Failure
Total duration 1m 32s
Artifacts

psalm.yml

on: pull_request
static-psalm-analysis
1m 23s
static-psalm-analysis
Fit to window
Zoom out
Zoom in

Annotations

10 errors
MixedAssignment: public/index.php#L24
public/index.php:24:1: MixedAssignment: Unable to determine the type that $dataConst is being assigned to (see https://psalm.dev/032)
MixedArgument: public/index.php#L25
public/index.php:25:30: MixedArgument: Argument 2 of ini_set cannot be mixed|string, expecting null|scalar (see https://psalm.dev/030)
MixedMethodCall: public/index.php#L25
public/index.php:25:42: MixedMethodCall: Cannot determine the type of $dataConst when calling method GetSessionDirectory (see https://psalm.dev/015)
MixedArgument: public/index.php#L52
public/index.php:52:49: MixedArgument: Argument 1 of AIO\Twig\CsrfExtension::__construct cannot be Slim\Csrf\Guard|mixed, expecting Slim\Csrf\Guard (see https://psalm.dev/030)
MixedArgument: public/index.php#L55
public/index.php:55:46: MixedArgument: Argument 1 of AIO\Middleware\AuthMiddleware::__construct cannot be AIO\Auth\AuthManager|mixed, expecting AIO\Auth\AuthManager (see https://psalm.dev/030)
UnusedClosureParam: public/index.php#L74
public/index.php:74:80: UnusedClosureParam: Param args is never referenced in this method (see https://psalm.dev/188)
MixedArgument: public/index.php#L90
public/index.php:90:62: MixedArgument: Argument 1 of AIO\ContainerDefinitionFetcher::__construct cannot be AIO\Data\ConfigurationManager|mixed, expecting AIO\Data\ConfigurationManager (see https://psalm.dev/030)
UnusedClosureParam: public/index.php#L131
public/index.php:131:75: UnusedClosureParam: Param args is never referenced in this method (see https://psalm.dev/188)
UnusedClosureParam: public/index.php#L139
public/index.php:139:75: UnusedClosureParam: Param args is never referenced in this method (see https://psalm.dev/188)
UnusedClosureParam: public/index.php#L161
public/index.php:161:97: UnusedClosureParam: Param args is never referenced in this method (see https://psalm.dev/188)