Skip to content

Implement generic version of testUnmarshalling #557

Implement generic version of testUnmarshalling

Implement generic version of testUnmarshalling #557

Triggered via push December 25, 2023 11:03
Status Failure
Total duration 1m 45s
Artifacts

php.yml

on: push
Matrix: unit-tests-linux
Matrix: unit-tests-windows
Code coverage
0s
Code coverage
Cleanup artifacts
0s
Cleanup artifacts
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 6 warnings
UndefinedAttributeClass: tests/XML/AbstractElementTest.php#L57
tests/XML/AbstractElementTest.php:57:7: UndefinedAttributeClass: Attribute class SimpleSAML\Test\XML\Override does not exist (see https://psalm.dev/241)
UndefinedAttributeClass: tests/XML/Base64ElementTraitTest.php#L60
tests/XML/Base64ElementTraitTest.php:60:7: UndefinedAttributeClass: Attribute class SimpleSAML\Test\XML\Override does not exist (see https://psalm.dev/241)
UndefinedAttributeClass: tests/XML/ChunkTest.php#L56
tests/XML/ChunkTest.php:56:7: UndefinedAttributeClass: Attribute class SimpleSAML\Test\XML\Override does not exist (see https://psalm.dev/241)
Quality control
Process completed with exit code 2.
PropertyNotSetInConstructor: tests/Utils/Base64Element.php#L15
tests/Utils/Base64Element.php:15:13: PropertyNotSetInConstructor: Property SimpleSAML\Test\XML\Base64Element::$content is not defined in constructor of SimpleSAML\Test\XML\Base64Element or in any methods called in the constructor (see https://psalm.dev/074)
ArgumentTypeCoercion: tests/Utils/ExtendableAttributesElement.php#L67
tests/Utils/ExtendableAttributesElement.php:67:32: ArgumentTypeCoercion: Argument 1 of SimpleSAML\Test\XML\ExtendableAttributesElement::setAttributesNS expects list<SimpleSAML\XML\Attribute>, but parent type array<array-key, SimpleSAML\XML\Attribute> provided (see https://psalm.dev/193)
PropertyNotSetInConstructor: tests/Utils/LocalizedStringElement.php#L15
tests/Utils/LocalizedStringElement.php:15:13: PropertyNotSetInConstructor: Property SimpleSAML\Test\XML\LocalizedStringElement::$content is not defined in constructor of SimpleSAML\Test\XML\LocalizedStringElement or in any methods called in the constructor (see https://psalm.dev/074)
PropertyNotSetInConstructor: tests/Utils/QNameElement.php#L15
tests/Utils/QNameElement.php:15:13: PropertyNotSetInConstructor: Property SimpleSAML\Test\XML\QNameElement::$content is not defined in constructor of SimpleSAML\Test\XML\QNameElement or in any methods called in the constructor (see https://psalm.dev/074)
PossiblyNullReference: tests/XML/AttributeTest.php#L97
tests/XML/AttributeTest.php:97:34: PossiblyNullReference: Cannot call method saveXML on possibly null value (see https://psalm.dev/083)
PossiblyInvalidArgument: tests/XML/AttributeTest.php#L107
tests/XML/AttributeTest.php:107:51: PossiblyInvalidArgument: Argument 1 of SimpleSAML\XML\Attribute::fromXML expects DOMAttr, but possibly different type DOMAttr|DOMNameSpaceNode|false provided (see https://psalm.dev/092)