Skip to content

PHP84 : Add spec compliance #605

PHP84 : Add spec compliance

PHP84 : Add spec compliance #605

Triggered via pull request February 23, 2024 09:50
Status Failure
Total duration 45s
Artifacts

analyzers.yaml

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

Annotations

30 errors
MixedReturnTypeCoercion: src/Xml/Dom/Collection/NodeList.php#L64
src/Xml/Dom/Collection/NodeList.php:64:16: MixedReturnTypeCoercion: The declared return type 'VeeWee\Xml\Dom\Collection\NodeList<DOM\Element>' for VeeWee\Xml\Dom\Collection\NodeList::fromDOMHTMLCollection is more specific than the inferred return type 'VeeWee\Xml\Dom\Collection\NodeList<TValue:Iterator as mixed>' (see https://psalm.dev/197)
MixedReturnTypeCoercion: src/Xml/Dom/Collection/NodeList.php#L68
src/Xml/Dom/Collection/NodeList.php:68:16: MixedReturnTypeCoercion: The type 'VeeWee\Xml\Dom\Collection\NodeList<TValue:Iterator as mixed>' is more general than the declared return type 'VeeWee\Xml\Dom\Collection\NodeList<DOM\Element>' for VeeWee\Xml\Dom\Collection\NodeList::fromDOMHTMLCollection (see https://psalm.dev/197)
MixedArgumentTypeCoercion: src/Xml/Dom/Collection/NodeList.php#L68
src/Xml/Dom/Collection/NodeList.php:68:28: MixedArgumentTypeCoercion: Argument 1 of VeeWee\Xml\Dom\Collection\NodeList::__construct expects DOM\Node, but parent type TValue:Iterator as mixed provided (see https://psalm.dev/194)
TooManyTemplateParams: src/Xml/Dom/Collection/NodeList.php#L73
src/Xml/Dom/Collection/NodeList.php:73:15: TooManyTemplateParams: DOM\NodeList<X:fn-veewee\xml\dom\collection\nodelist::fromdomnodelist as DOM\Node> has too many template params, expecting 0 (see https://psalm.dev/184)
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<TValue:Iterator as mixed>' (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<TValue:Iterator as mixed>' 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)
MixedArgumentTypeCoercion: src/Xml/Dom/Collection/NodeList.php#L78
src/Xml/Dom/Collection/NodeList.php:78:28: MixedArgumentTypeCoercion: Argument 1 of VeeWee\Xml\Dom\Collection\NodeList::__construct expects DOM\Node, but parent type TValue:Iterator as mixed provided (see https://psalm.dev/194)
InvalidClass: src/Xml/Dom/Collection/NodeList.php#L196
src/Xml/Dom/Collection/NodeList.php:196:15: InvalidClass: Class, interface or enum DOMXpath has wrong casing (see https://psalm.dev/007)
InvalidArgument: src/Xml/Dom/Collection/NodeList.php#L208
src/Xml/Dom/Collection/NodeList.php:208:52: InvalidArgument: Argument 2 of VeeWee\Xml\Dom\Xpath::fromUnsafeNode expects callable(DOM\XPath):DOM\XPath, but callable(DOMXpath):DOMXpath provided (see https://psalm.dev/004)
InvalidClass: src/Xml/Dom/Collection/NodeList.php#L214
src/Xml/Dom/Collection/NodeList.php:214:15: InvalidClass: Class, interface or enum DOMXpath has wrong casing (see https://psalm.dev/007)
MixedReturnTypeCoercion: src/Xml/Dom/Collection/NodeList.php#L64
src/Xml/Dom/Collection/NodeList.php:64:16: MixedReturnTypeCoercion: The declared return type 'VeeWee\Xml\Dom\Collection\NodeList<DOM\Element>' for VeeWee\Xml\Dom\Collection\NodeList::fromDOMHTMLCollection is more specific than the inferred return type 'VeeWee\Xml\Dom\Collection\NodeList<TValue:Iterator as mixed>' (see https://psalm.dev/197)
MixedReturnTypeCoercion: src/Xml/Dom/Collection/NodeList.php#L68
src/Xml/Dom/Collection/NodeList.php:68:16: MixedReturnTypeCoercion: The type 'VeeWee\Xml\Dom\Collection\NodeList<TValue:Iterator as mixed>' is more general than the declared return type 'VeeWee\Xml\Dom\Collection\NodeList<DOM\Element>' for VeeWee\Xml\Dom\Collection\NodeList::fromDOMHTMLCollection (see https://psalm.dev/197)
MixedArgumentTypeCoercion: src/Xml/Dom/Collection/NodeList.php#L68
src/Xml/Dom/Collection/NodeList.php:68:28: MixedArgumentTypeCoercion: Argument 1 of VeeWee\Xml\Dom\Collection\NodeList::__construct expects DOM\Node, but parent type TValue:Iterator as mixed provided (see https://psalm.dev/194)
TooManyTemplateParams: src/Xml/Dom/Collection/NodeList.php#L73
src/Xml/Dom/Collection/NodeList.php:73:15: TooManyTemplateParams: DOM\NodeList<X:fn-veewee\xml\dom\collection\nodelist::fromdomnodelist as DOM\Node> has too many template params, expecting 0 (see https://psalm.dev/184)
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<TValue:Iterator as mixed>' (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<TValue:Iterator as mixed>' 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)
MixedArgumentTypeCoercion: src/Xml/Dom/Collection/NodeList.php#L78
src/Xml/Dom/Collection/NodeList.php:78:28: MixedArgumentTypeCoercion: Argument 1 of VeeWee\Xml\Dom\Collection\NodeList::__construct expects DOM\Node, but parent type TValue:Iterator as mixed provided (see https://psalm.dev/194)
InvalidClass: src/Xml/Dom/Collection/NodeList.php#L196
src/Xml/Dom/Collection/NodeList.php:196:15: InvalidClass: Class, interface or enum DOMXpath has wrong casing (see https://psalm.dev/007)
InvalidArgument: src/Xml/Dom/Collection/NodeList.php#L208
src/Xml/Dom/Collection/NodeList.php:208:52: InvalidArgument: Argument 2 of VeeWee\Xml\Dom\Xpath::fromUnsafeNode expects callable(DOM\XPath):DOM\XPath, but callable(DOMXpath):DOMXpath provided (see https://psalm.dev/004)
InvalidClass: src/Xml/Dom/Collection/NodeList.php#L214
src/Xml/Dom/Collection/NodeList.php:214:15: InvalidClass: Class, interface or enum DOMXpath has wrong casing (see https://psalm.dev/007)
MixedReturnTypeCoercion: src/Xml/Dom/Collection/NodeList.php#L64
src/Xml/Dom/Collection/NodeList.php:64:16: MixedReturnTypeCoercion: The declared return type 'VeeWee\Xml\Dom\Collection\NodeList<DOM\Element>' for VeeWee\Xml\Dom\Collection\NodeList::fromDOMHTMLCollection is more specific than the inferred return type 'VeeWee\Xml\Dom\Collection\NodeList<TValue:Iterator as mixed>' (see https://psalm.dev/197)
MixedReturnTypeCoercion: src/Xml/Dom/Collection/NodeList.php#L68
src/Xml/Dom/Collection/NodeList.php:68:16: MixedReturnTypeCoercion: The type 'VeeWee\Xml\Dom\Collection\NodeList<TValue:Iterator as mixed>' is more general than the declared return type 'VeeWee\Xml\Dom\Collection\NodeList<DOM\Element>' for VeeWee\Xml\Dom\Collection\NodeList::fromDOMHTMLCollection (see https://psalm.dev/197)
MixedArgumentTypeCoercion: src/Xml/Dom/Collection/NodeList.php#L68
src/Xml/Dom/Collection/NodeList.php:68:28: MixedArgumentTypeCoercion: Argument 1 of VeeWee\Xml\Dom\Collection\NodeList::__construct expects DOM\Node, but parent type TValue:Iterator as mixed provided (see https://psalm.dev/194)
TooManyTemplateParams: src/Xml/Dom/Collection/NodeList.php#L73
src/Xml/Dom/Collection/NodeList.php:73:15: TooManyTemplateParams: DOM\NodeList<X:fn-veewee\xml\dom\collection\nodelist::fromdomnodelist as DOM\Node> has too many template params, expecting 0 (see https://psalm.dev/184)
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<TValue:Iterator as mixed>' (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<TValue:Iterator as mixed>' 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)
MixedArgumentTypeCoercion: src/Xml/Dom/Collection/NodeList.php#L78
src/Xml/Dom/Collection/NodeList.php:78:28: MixedArgumentTypeCoercion: Argument 1 of VeeWee\Xml\Dom\Collection\NodeList::__construct expects DOM\Node, but parent type TValue:Iterator as mixed provided (see https://psalm.dev/194)
InvalidClass: src/Xml/Dom/Collection/NodeList.php#L196
src/Xml/Dom/Collection/NodeList.php:196:15: InvalidClass: Class, interface or enum DOMXpath has wrong casing (see https://psalm.dev/007)
InvalidArgument: src/Xml/Dom/Collection/NodeList.php#L208
src/Xml/Dom/Collection/NodeList.php:208:52: InvalidArgument: Argument 2 of VeeWee\Xml\Dom\Xpath::fromUnsafeNode expects callable(DOM\XPath):DOM\XPath, but callable(DOMXpath):DOMXpath provided (see https://psalm.dev/004)
InvalidClass: src/Xml/Dom/Collection/NodeList.php#L214
src/Xml/Dom/Collection/NodeList.php:214:15: InvalidClass: Class, interface or enum DOMXpath has wrong casing (see https://psalm.dev/007)