Skip to content

Resolve conflicting XMLNS imports #87

Resolve conflicting XMLNS imports

Resolve conflicting XMLNS imports #87

Triggered via pull request September 27, 2024 05:44
Status Failure
Total duration 31s
Artifacts

analyzers.yaml

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

Annotations

30 errors
PossiblyNullArgument: src/Xml/Visitor/ReprefixTypeQname.php#L24
src/Xml/Visitor/ReprefixTypeQname.php:24:27: PossiblyNullArgument: Argument 1 of str_contains cannot be null, possibly null value provided (see https://psalm.dev/078)
PossiblyUndefinedArrayOffset: src/Xml/Visitor/ReprefixTypeQname.php#L28
src/Xml/Visitor/ReprefixTypeQname.php:28:26: PossiblyUndefinedArrayOffset: Possibly undefined array key (see https://psalm.dev/167)
PossiblyNullArgument: src/Xml/Visitor/ReprefixTypeQname.php#L28
src/Xml/Visitor/ReprefixTypeQname.php:28:59: PossiblyNullArgument: Argument 2 of explode cannot be null, possibly null value provided (see https://psalm.dev/078)
MissingThrowsDocblock: src/Xml/Xmlns/RegisterNonConflictingXmlnsNamespaces.php#L26
src/Xml/Xmlns/RegisterNonConflictingXmlnsNamespaces.php:26:37: MissingThrowsDocblock: VeeWee\Xml\Exception\RuntimeException is thrown but not caught - please either catch or add a @throws annotation (see https://psalm.dev/169)
MissingThrowsDocblock: src/Xml/Xmlns/RegisterNonConflictingXmlnsNamespaces.php#L27
src/Xml/Xmlns/RegisterNonConflictingXmlnsNamespaces.php:27:9: MissingThrowsDocblock: VeeWee\Xml\Exception\RuntimeException is thrown but not caught - please either catch or add a @throws annotation (see https://psalm.dev/169)
PossiblyNullArgument: src/Xml/Xmlns/RegisterNonConflictingXmlnsNamespaces.php#L46
src/Xml/Xmlns/RegisterNonConflictingXmlnsNamespaces.php:46:45: PossiblyNullArgument: Argument 2 of VeeWee\Xml\Dom\Builder\xmlns_attribute cannot be null, possibly null value provided (see https://psalm.dev/078)
InvalidTemplateParam: src/Xml/Xmlns/RegisterNonConflictingXmlnsNamespaces.php#L53
src/Xml/Xmlns/RegisterNonConflictingXmlnsNamespaces.php:53:15: InvalidTemplateParam: Extended template param T of VeeWee\Xml\Dom\Collection\NodeList<DOMNameSpaceNode> expects type DOMNode, type DOMNameSpaceNode given (see https://psalm.dev/183)
InvalidTemplateParam: src/Xml/Xmlns/RegisterNonConflictingXmlnsNamespaces.php#L60
src/Xml/Xmlns/RegisterNonConflictingXmlnsNamespaces.php:60:27: InvalidTemplateParam: Extended template param T of VeeWee\Xml\Dom\Collection\NodeList<DOMNameSpaceNode> expects type DOMNode, type DOMNameSpaceNode given (see https://psalm.dev/183)
RiskyTruthyFalsyComparison: src/Xml/Xmlns/RegisterNonConflictingXmlnsNamespaces.php#L64
src/Xml/Xmlns/RegisterNonConflictingXmlnsNamespaces.php:64:13: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
PossiblyNullArgument: src/Xml/Xmlns/RegisterNonConflictingXmlnsNamespaces.php#L75
src/Xml/Xmlns/RegisterNonConflictingXmlnsNamespaces.php:75:43: PossiblyNullArgument: Argument 1 of md5 cannot be null, possibly null value provided (see https://psalm.dev/078)
PossiblyNullArgument: src/Xml/Visitor/ReprefixTypeQname.php#L24
src/Xml/Visitor/ReprefixTypeQname.php:24:27: PossiblyNullArgument: Argument 1 of str_contains cannot be null, possibly null value provided (see https://psalm.dev/078)
PossiblyUndefinedArrayOffset: src/Xml/Visitor/ReprefixTypeQname.php#L28
src/Xml/Visitor/ReprefixTypeQname.php:28:26: PossiblyUndefinedArrayOffset: Possibly undefined array key (see https://psalm.dev/167)
PossiblyNullArgument: src/Xml/Visitor/ReprefixTypeQname.php#L28
src/Xml/Visitor/ReprefixTypeQname.php:28:59: PossiblyNullArgument: Argument 2 of explode cannot be null, possibly null value provided (see https://psalm.dev/078)
MissingThrowsDocblock: src/Xml/Xmlns/RegisterNonConflictingXmlnsNamespaces.php#L26
src/Xml/Xmlns/RegisterNonConflictingXmlnsNamespaces.php:26:37: MissingThrowsDocblock: VeeWee\Xml\Exception\RuntimeException is thrown but not caught - please either catch or add a @throws annotation (see https://psalm.dev/169)
MissingThrowsDocblock: src/Xml/Xmlns/RegisterNonConflictingXmlnsNamespaces.php#L27
src/Xml/Xmlns/RegisterNonConflictingXmlnsNamespaces.php:27:9: MissingThrowsDocblock: VeeWee\Xml\Exception\RuntimeException is thrown but not caught - please either catch or add a @throws annotation (see https://psalm.dev/169)
PossiblyNullArgument: src/Xml/Xmlns/RegisterNonConflictingXmlnsNamespaces.php#L46
src/Xml/Xmlns/RegisterNonConflictingXmlnsNamespaces.php:46:45: PossiblyNullArgument: Argument 2 of VeeWee\Xml\Dom\Builder\xmlns_attribute cannot be null, possibly null value provided (see https://psalm.dev/078)
InvalidTemplateParam: src/Xml/Xmlns/RegisterNonConflictingXmlnsNamespaces.php#L53
src/Xml/Xmlns/RegisterNonConflictingXmlnsNamespaces.php:53:15: InvalidTemplateParam: Extended template param T of VeeWee\Xml\Dom\Collection\NodeList<DOMNameSpaceNode> expects type DOMNode, type DOMNameSpaceNode given (see https://psalm.dev/183)
InvalidTemplateParam: src/Xml/Xmlns/RegisterNonConflictingXmlnsNamespaces.php#L60
src/Xml/Xmlns/RegisterNonConflictingXmlnsNamespaces.php:60:27: InvalidTemplateParam: Extended template param T of VeeWee\Xml\Dom\Collection\NodeList<DOMNameSpaceNode> expects type DOMNode, type DOMNameSpaceNode given (see https://psalm.dev/183)
RiskyTruthyFalsyComparison: src/Xml/Xmlns/RegisterNonConflictingXmlnsNamespaces.php#L64
src/Xml/Xmlns/RegisterNonConflictingXmlnsNamespaces.php:64:13: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
PossiblyNullArgument: src/Xml/Xmlns/RegisterNonConflictingXmlnsNamespaces.php#L75
src/Xml/Xmlns/RegisterNonConflictingXmlnsNamespaces.php:75:43: PossiblyNullArgument: Argument 1 of md5 cannot be null, possibly null value provided (see https://psalm.dev/078)
PossiblyNullArgument: src/Xml/Visitor/ReprefixTypeQname.php#L24
src/Xml/Visitor/ReprefixTypeQname.php:24:27: PossiblyNullArgument: Argument 1 of str_contains cannot be null, possibly null value provided (see https://psalm.dev/078)
PossiblyUndefinedArrayOffset: src/Xml/Visitor/ReprefixTypeQname.php#L28
src/Xml/Visitor/ReprefixTypeQname.php:28:26: PossiblyUndefinedArrayOffset: Possibly undefined array key (see https://psalm.dev/167)
PossiblyNullArgument: src/Xml/Visitor/ReprefixTypeQname.php#L28
src/Xml/Visitor/ReprefixTypeQname.php:28:59: PossiblyNullArgument: Argument 2 of explode cannot be null, possibly null value provided (see https://psalm.dev/078)
MissingThrowsDocblock: src/Xml/Xmlns/RegisterNonConflictingXmlnsNamespaces.php#L26
src/Xml/Xmlns/RegisterNonConflictingXmlnsNamespaces.php:26:37: MissingThrowsDocblock: VeeWee\Xml\Exception\RuntimeException is thrown but not caught - please either catch or add a @throws annotation (see https://psalm.dev/169)
MissingThrowsDocblock: src/Xml/Xmlns/RegisterNonConflictingXmlnsNamespaces.php#L27
src/Xml/Xmlns/RegisterNonConflictingXmlnsNamespaces.php:27:9: MissingThrowsDocblock: VeeWee\Xml\Exception\RuntimeException is thrown but not caught - please either catch or add a @throws annotation (see https://psalm.dev/169)
PossiblyNullArgument: src/Xml/Xmlns/RegisterNonConflictingXmlnsNamespaces.php#L46
src/Xml/Xmlns/RegisterNonConflictingXmlnsNamespaces.php:46:45: PossiblyNullArgument: Argument 2 of VeeWee\Xml\Dom\Builder\xmlns_attribute cannot be null, possibly null value provided (see https://psalm.dev/078)
InvalidTemplateParam: src/Xml/Xmlns/RegisterNonConflictingXmlnsNamespaces.php#L53
src/Xml/Xmlns/RegisterNonConflictingXmlnsNamespaces.php:53:15: InvalidTemplateParam: Extended template param T of VeeWee\Xml\Dom\Collection\NodeList<DOMNameSpaceNode> expects type DOMNode, type DOMNameSpaceNode given (see https://psalm.dev/183)
InvalidTemplateParam: src/Xml/Xmlns/RegisterNonConflictingXmlnsNamespaces.php#L60
src/Xml/Xmlns/RegisterNonConflictingXmlnsNamespaces.php:60:27: InvalidTemplateParam: Extended template param T of VeeWee\Xml\Dom\Collection\NodeList<DOMNameSpaceNode> expects type DOMNode, type DOMNameSpaceNode given (see https://psalm.dev/183)
RiskyTruthyFalsyComparison: src/Xml/Xmlns/RegisterNonConflictingXmlnsNamespaces.php#L64
src/Xml/Xmlns/RegisterNonConflictingXmlnsNamespaces.php:64:13: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
PossiblyNullArgument: src/Xml/Xmlns/RegisterNonConflictingXmlnsNamespaces.php#L75
src/Xml/Xmlns/RegisterNonConflictingXmlnsNamespaces.php:75:43: PossiblyNullArgument: Argument 1 of md5 cannot be null, possibly null value provided (see https://psalm.dev/078)