Remove unnecessary toXML/fromXML #560
php.yml
on: push
Annotations
6 errors and 6 warnings
Unit tests, PHP 8.3, ubuntu-latest:
tests/XML/Base64ElementTraitTest.php#L61
SimpleSAML\Test\XML\Base64ElementTraitTest::testUnmarshalling() has #[\Override] attribute, but no matching parent method exists
|
Unit tests, PHP 8.3, ubuntu-latest
Process completed with exit code 255.
|
Unit tests, PHP 8.3, windows-latest:
tests/XML/Base64ElementTraitTest.php#L61
SimpleSAML\Test\XML\Base64ElementTraitTest::testUnmarshalling() has #[\Override] attribute, but no matching parent method exists
|
Unit tests, PHP 8.3, windows-latest
Process completed with exit code 1.
|
Unit tests, PHP 8.2, windows-latest
The job was canceled because "windows-latest_8_3" failed.
|
Unit tests, PHP 8.1, windows-latest
The job was canceled because "windows-latest_8_3" failed.
|
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)
|