Skip to content

Lock file maintenance, Type inference improvements #624

Lock file maintenance, Type inference improvements

Lock file maintenance, Type inference improvements #624

Triggered via pull request November 27, 2023 05:01
Status Failure
Total duration 54s
Artifacts

continuous-integration.yml

on: pull_request
ci  /  Generate job matrix
8s
ci / Generate job matrix
Matrix: ci / QA Checks
Fit to window
Zoom out
Zoom in

Annotations

10 errors
MixedReturnTypeCoercion: src/Helper/Doctype.php#L178
src/Helper/Doctype.php:178:16: MixedReturnTypeCoercion: The declared return type 'string' for Laminas\View\Helper\Doctype::getDoctype is more specific than the inferred return type 'TValue:ArrayObject as mixed' (see https://psalm.dev/197)
MixedReturnTypeCoercion: src/Helper/Doctype.php#L186
src/Helper/Doctype.php:186:16: MixedReturnTypeCoercion: The type 'TValue:ArrayObject as mixed' is more general than the declared return type 'string' for Laminas\View\Helper\Doctype::getDoctype (see https://psalm.dev/197)
MixedReturnTypeCoercion: src/Helper/Doctype.php#L192
src/Helper/Doctype.php:192:16: MixedReturnTypeCoercion: The declared return type 'array<array-key, mixed>' for Laminas\View\Helper\Doctype::getDoctypes is more specific than the inferred return type 'TValue:ArrayObject as mixed' (see https://psalm.dev/197)
MixedReturnTypeCoercion: src/Helper/Doctype.php#L196
src/Helper/Doctype.php:196:16: MixedReturnTypeCoercion: The type 'TValue:ArrayObject as mixed' is more general than the declared return type 'array<array-key, mixed>' for Laminas\View\Helper\Doctype::getDoctypes (see https://psalm.dev/197)
ParamNameMismatch: src/Helper/HeadLink.php#L249
src/Helper/HeadLink.php:249:31: ParamNameMismatch: Argument 1 of Laminas\View\Helper\HeadLink::offsetSet has wrong name $index, expecting $offset as defined by Laminas\View\Helper\Placeholder\Container\AbstractStandalone::offsetSet (see https://psalm.dev/230)
ParamNameMismatch: src/Helper/HeadMeta.php#L453
src/Helper/HeadMeta.php:453:33: ParamNameMismatch: Argument 1 of Laminas\View\Helper\HeadMeta::offsetUnset has wrong name $index, expecting $offset as defined by Laminas\View\Helper\Placeholder\Container\AbstractStandalone::offsetUnset (see https://psalm.dev/230)
ParamNameMismatch: src/Helper/HeadScript.php#L564
src/Helper/HeadScript.php:564:31: ParamNameMismatch: Argument 1 of Laminas\View\Helper\HeadScript::offsetSet has wrong name $index, expecting $offset as defined by Laminas\View\Helper\Placeholder\Container\AbstractStandalone::offsetSet (see https://psalm.dev/230)
ParamNameMismatch: src/Helper/HeadStyle.php#L428
src/Helper/HeadStyle.php:428:31: ParamNameMismatch: Argument 1 of Laminas\View\Helper\HeadStyle::offsetSet has wrong name $index, expecting $offset as defined by Laminas\View\Helper\Placeholder\Container\AbstractStandalone::offsetSet (see https://psalm.dev/230)
NoValue: src/Helper/HtmlObject.php#L62
src/Helper/HtmlObject.php:62:41: NoValue: All possible types for this argument were invalidated - This may be dead code (see https://psalm.dev/179)
InvalidCast: src/Helper/Navigation/AbstractHelper.php#L629
src/Helper/Navigation/AbstractHelper.php:629:37: InvalidCast: never cannot be cast to int (see https://psalm.dev/103)