Skip to content

Apply CR suggestions #173

Apply CR suggestions

Apply CR suggestions #173

Triggered via push July 10, 2023 19:02
Status Failure
Total duration 43s
Artifacts

static.yml

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

Annotations

19 errors
NoValue: src/DataAttributesHandler.php#L43
src/DataAttributesHandler.php:43:13: NoValue: All possible types for this assignment were invalidated - This may be dead code (see https://psalm.dev/179)
NoValue: src/ParameterAttributesHandler.php#L49
src/ParameterAttributesHandler.php:49:13: NoValue: All possible types for this assignment were invalidated - This may be dead code (see https://psalm.dev/179)
ImplementedReturnTypeMismatch: src/ResolverFactory/ContainerAttributeResolverFactory.php#L29
src/ResolverFactory/ContainerAttributeResolverFactory.php:29:16: ImplementedReturnTypeMismatch: The inherited return type 'T:fn-yiisoft\hydrator\resolverfactory\attributeresolverfactoryinterface::create as mixed' for Yiisoft\Hydrator\ResolverFactory\AttributeResolverFactoryInterface::create is different to the implemented return type for Yiisoft\Hydrator\ResolverFactory\ContainerAttributeResolverFactory::create 'mixed|object|string' (see https://psalm.dev/123)
psalm / PHP 8.1-ubuntu-latest
Process completed with exit code 2.
psalm / PHP 8.0-ubuntu-latest
The job was canceled because "ubuntu-latest_8_1" failed.
MixedMethodCall: src/DataAttributesHandler.php#L53
src/DataAttributesHandler.php:53:24: MixedMethodCall: Cannot determine the type of $resolver when calling method prepareData (see https://psalm.dev/015)
MixedArgumentTypeCoercion: src/ObjectFactory/ReflectionObjectFactory.php#L36
src/ObjectFactory/ReflectionObjectFactory.php:36:50: MixedArgumentTypeCoercion: Argument 1 of ReflectionClass::newInstanceArgs expects array<int, mixed>, but parent type array<array-key, mixed> provided (see https://psalm.dev/194)
MixedInferredReturnType: src/ParameterAttributesHandler.php#L34
src/ParameterAttributesHandler.php:34:16: MixedInferredReturnType: Could not verify return type 'Yiisoft\Hydrator\Result' for Yiisoft\Hydrator\ParameterAttributesHandler::handle (see https://psalm.dev/047)
MixedArgument: src/ParameterAttributesHandler.php#L62
src/ParameterAttributesHandler.php:62:17: MixedArgument: Argument 2 of Yiisoft\Hydrator\Context::__construct cannot be Yiisoft\Hydrator\Result|mixed, expecting Yiisoft\Hydrator\Result (see https://psalm.dev/030)
MixedMethodCall: src/ParameterAttributesHandler.php#L62
src/ParameterAttributesHandler.php:62:37: MixedMethodCall: Cannot determine the type of $hereResolveResult when calling method isResolved (see https://psalm.dev/015)
MixedMethodCall: src/ParameterAttributesHandler.php#L67
src/ParameterAttributesHandler.php:67:45: MixedMethodCall: Cannot determine the type of $resolver when calling method getParameterValue (see https://psalm.dev/015)
MixedReturnStatement: src/ParameterAttributesHandler.php#L70
src/ParameterAttributesHandler.php:70:16: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
ImplementedReturnTypeMismatch: src/ResolverFactory/ContainerAttributeResolverFactory.php#L29
src/ResolverFactory/ContainerAttributeResolverFactory.php:29:16: ImplementedReturnTypeMismatch: The inherited return type 'T:fn-yiisoft\hydrator\resolverfactory\attributeresolverfactoryinterface::create as mixed' for Yiisoft\Hydrator\ResolverFactory\AttributeResolverFactoryInterface::create is different to the implemented return type for Yiisoft\Hydrator\ResolverFactory\ContainerAttributeResolverFactory::create 'mixed|object|string' (see https://psalm.dev/123)
psalm / PHP 8.0-ubuntu-latest
The operation was canceled.
psalm / PHP 8.2-ubuntu-latest
The job was canceled because "ubuntu-latest_8_1" failed.
NoValue: src/DataAttributesHandler.php#L43
src/DataAttributesHandler.php:43:13: NoValue: All possible types for this assignment were invalidated - This may be dead code (see https://psalm.dev/179)
NoValue: src/ParameterAttributesHandler.php#L49
src/ParameterAttributesHandler.php:49:13: NoValue: All possible types for this assignment were invalidated - This may be dead code (see https://psalm.dev/179)
ImplementedReturnTypeMismatch: src/ResolverFactory/ContainerAttributeResolverFactory.php#L29
src/ResolverFactory/ContainerAttributeResolverFactory.php:29:16: ImplementedReturnTypeMismatch: The inherited return type 'T:fn-yiisoft\hydrator\resolverfactory\attributeresolverfactoryinterface::create as mixed' for Yiisoft\Hydrator\ResolverFactory\AttributeResolverFactoryInterface::create is different to the implemented return type for Yiisoft\Hydrator\ResolverFactory\ContainerAttributeResolverFactory::create 'mixed|object|string' (see https://psalm.dev/123)
psalm / PHP 8.2-ubuntu-latest
The operation was canceled.