Skip to content

PHP84 : Add spec compliance #673

PHP84 : Add spec compliance

PHP84 : Add spec compliance #673

Triggered via pull request July 4, 2024 14:00
Status Failure
Total duration 26s
Artifacts

analyzers.yaml

on: pull_request
Matrix: run
Fit to window
Zoom out
Zoom in

Annotations

3 errors
InvalidReturnType: src/Xml/Dom/Collection/NodeList.php#L74
src/Xml/Dom/Collection/NodeList.php:74:16: InvalidReturnType: The declared return type 'VeeWee\Xml\Dom\Collection\NodeList<X:fn-veewee\xml\dom\collection\nodelist::fromdomnodelist as DOM\Node>' for VeeWee\Xml\Dom\Collection\NodeList::fromDOMNodeList is incorrect, got 'VeeWee\Xml\Dom\Collection\NodeList<TNode:DOM\NodeList as DOM\Node>' (see https://psalm.dev/011)
InvalidReturnStatement: src/Xml/Dom/Collection/NodeList.php#L78
src/Xml/Dom/Collection/NodeList.php:78:16: InvalidReturnStatement: The inferred type 'VeeWee\Xml\Dom\Collection\NodeList<TNode:DOM\NodeList as DOM\Node>' does not match the declared return type 'VeeWee\Xml\Dom\Collection\NodeList<X:fn-veewee\xml\dom\collection\nodelist::fromdomnodelist as DOM\Node>' for VeeWee\Xml\Dom\Collection\NodeList::fromDOMNodeList (see https://psalm.dev/128)
PHP 8.4 @ ubuntu-latest
Process completed with exit code 2.