Skip to content

Improve static analysis #614

Improve static analysis

Improve static analysis #614

Triggered via push August 2, 2023 06:30
Status Failure
Total duration 36s
Artifacts

static.yml

on: push
Matrix: psalm / psalm
Fit to window
Zoom out
Zoom in

Annotations

9 errors
PossiblyUndefinedMethod: src/DefinitionStorage.php#L158
src/DefinitionStorage.php:158:42: PossiblyUndefinedMethod: Method ReflectionIntersectionType::isBuiltin does not exist (see https://psalm.dev/108)
PossiblyUndefinedMethod: src/DefinitionStorage.php#L159
src/DefinitionStorage.php:159:53: PossiblyUndefinedMethod: Method ReflectionIntersectionType::getName does not exist (see https://psalm.dev/108)
MixedArgument: src/DefinitionStorage.php#L169
src/DefinitionStorage.php:169:53: MixedArgument: Argument 1 of Yiisoft\Definitions\DefinitionStorage::isResolvable cannot be mixed, expecting string (see https://psalm.dev/030)
MixedArgument: src/DefinitionStorage.php#L179
src/DefinitionStorage.php:179:100: MixedArgument: Argument 1 of Psr\Container\ContainerInterface::has cannot be mixed, expecting string (see https://psalm.dev/030)
PossiblyInvalidArgument: src/ParameterDefinition.php#L222
src/ParameterDefinition.php:222:17: PossiblyInvalidArgument: Parameter 1 of closure passed to function array_map expects ReflectionNamedType, but possibly different type ReflectionIntersectionType|ReflectionNamedType provided (see https://psalm.dev/092)
psalm / PHP 8.2-ubuntu-latest
Process completed with exit code 2.
psalm / PHP 8.1-ubuntu-latest
The job was canceled because "ubuntu-latest_8_2" failed.
psalm / PHP 8.0-ubuntu-latest
The job was canceled because "ubuntu-latest_8_2" failed.
psalm / PHP 8.0-ubuntu-latest
The operation was canceled.