Add securitypolicy classes #214
php.yml
on: push
Annotations
7 errors and 14 warnings
UndefinedPropertyFetch:
tests/WSSecurity/XML/sp/SignedPartsTest.php#L115
tests/WSSecurity/XML/sp/SignedPartsTest.php:115:42: UndefinedPropertyFetch: Instance property DOMNameSpaceNode::$tagName is not defined (see https://psalm.dev/039)
|
UndefinedPropertyFetch:
tests/WSSecurity/XML/sp/SignedPartsTest.php#L115
tests/WSSecurity/XML/sp/SignedPartsTest.php:115:42: UndefinedPropertyFetch: Instance property DOMNode::$tagName is not defined (see https://psalm.dev/039)
|
UndefinedPropertyFetch:
tests/WSSecurity/XML/sp/SignedPartsTest.php#L116
tests/WSSecurity/XML/sp/SignedPartsTest.php:116:47: UndefinedPropertyFetch: Instance property DOMNameSpaceNode::$tagName is not defined (see https://psalm.dev/039)
|
UndefinedPropertyFetch:
tests/WSSecurity/XML/sp/SignedPartsTest.php#L116
tests/WSSecurity/XML/sp/SignedPartsTest.php:116:47: UndefinedPropertyFetch: Instance property DOMNode::$tagName is not defined (see https://psalm.dev/039)
|
UndefinedPropertyFetch:
tests/WSSecurity/XML/sp/SignedPartsTest.php#L117
tests/WSSecurity/XML/sp/SignedPartsTest.php:117:42: UndefinedPropertyFetch: Instance property DOMNameSpaceNode::$tagName is not defined (see https://psalm.dev/039)
|
UndefinedPropertyFetch:
tests/WSSecurity/XML/sp/SignedPartsTest.php#L117
tests/WSSecurity/XML/sp/SignedPartsTest.php:117:42: UndefinedPropertyFetch: Instance property DOMNode::$tagName is not defined (see https://psalm.dev/039)
|
Quality control
Process completed with exit code 2.
|
ArgumentTypeCoercion:
src/XML/auth/AbstractClaimType.php#L187
src/XML/auth/AbstractClaimType.php:187:43: ArgumentTypeCoercion: Argument 1 of SimpleSAML\XML\Chunk::__construct expects DOMElement, but parent type DOMNode provided (see https://psalm.dev/193)
|
UnsafeInstantiation:
src/XML/auth/AbstractClaimType.php#L199
src/XML/auth/AbstractClaimType.php:199:16: UnsafeInstantiation: Cannot safely instantiate class SimpleSAML\WSSecurity\XML\auth\AbstractClaimType with "new static" as its constructor might change in child classes (see https://psalm.dev/229)
|
PossiblyNullReference:
src/XML/auth/AbstractClaimType.php#L229
src/XML/auth/AbstractClaimType.php:229:28: PossiblyNullReference: Cannot call method toXML on possibly null value (see https://psalm.dev/083)
|
UnsafeInstantiation:
src/XML/auth/AbstractConstrainedValueType.php#L128
src/XML/auth/AbstractConstrainedValueType.php:128:16: UnsafeInstantiation: Cannot safely instantiate class SimpleSAML\WSSecurity\XML\auth\AbstractConstrainedValueType with "new static" as its constructor might change in child classes (see https://psalm.dev/229)
|
PossiblyNullArgument:
src/XML/auth/AbstractEncryptedValueType.php#L95
src/XML/auth/AbstractEncryptedValueType.php:95:50: PossiblyNullArgument: Argument 2 of DOMElement::setAttribute cannot be null, possibly null value provided (see https://psalm.dev/078)
|
ArgumentTypeCoercion:
src/XML/auth/AbstractStructuredValueType.php#L47
src/XML/auth/AbstractStructuredValueType.php:47:32: ArgumentTypeCoercion: Argument 1 of SimpleSAML\WSSecurity\XML\auth\AbstractStructuredValueType::setAttributesNS expects list<SimpleSAML\XML\Attribute>, but parent type array<array-key, mixed> provided (see https://psalm.dev/193)
|
UnsafeInstantiation:
src/XML/auth/AbstractStructuredValueType.php#L74
src/XML/auth/AbstractStructuredValueType.php:74:16: UnsafeInstantiation: Cannot safely instantiate class SimpleSAML\WSSecurity\XML\auth\AbstractStructuredValueType with "new static" as its constructor might change in child classes (see https://psalm.dev/229)
|
UnsafeInstantiation:
src/XML/auth/AbstractValueInRangeType.php#L51
src/XML/auth/AbstractValueInRangeType.php:51:16: UnsafeInstantiation: Cannot safely instantiate class SimpleSAML\WSSecurity\XML\auth\AbstractValueInRangeType with "new static" as its constructor might change in child classes (see https://psalm.dev/229)
|
ArgumentTypeCoercion:
src/XML/fed/AbstractClaimDialectType.php#L50
src/XML/fed/AbstractClaimDialectType.php:50:32: ArgumentTypeCoercion: Argument 1 of SimpleSAML\WSSecurity\XML\fed\AbstractClaimDialectType::setAttributesNS expects list<SimpleSAML\XML\Attribute>, but parent type array<array-key, mixed> provided (see https://psalm.dev/193)
|
UnsafeInstantiation:
src/XML/fed/AbstractClaimDialectType.php#L86
src/XML/fed/AbstractClaimDialectType.php:86:16: UnsafeInstantiation: Cannot safely instantiate class SimpleSAML\WSSecurity\XML\fed\AbstractClaimDialectType with "new static" as its constructor might change in child classes (see https://psalm.dev/229)
|
ArgumentTypeCoercion:
tests/WSSecurity/XML/auth/ConstrainedValueTest.php#L81
tests/WSSecurity/XML/auth/ConstrainedValueTest.php:81:50: ArgumentTypeCoercion: Argument 1 of SimpleSAML\WSSecurity\XML\auth\ConstrainedValue::__construct expects SimpleSAML\WSSecurity\XML\auth\ValueGreaterThan|SimpleSAML\WSSecurity\XML\auth\ValueGreaterThanOrEqual|SimpleSAML\WSSecurity\XML\auth\ValueInRangen|SimpleSAML\WSSecurity\XML\auth\ValueLessThan|SimpleSAML\WSSecurity\XML\auth\ValueLessThanOrEqual|SimpleSAML\WSSecurity\XML\auth\ValueOneOf, but parent type object provided (see https://psalm.dev/193)
|
PossiblyNullPropertyFetch:
tests/WSSecurity/XML/sp/SignedPartsTest.php#L115
tests/WSSecurity/XML/sp/SignedPartsTest.php:115:42: PossiblyNullPropertyFetch: Cannot get property on possibly null variable $SignedPartsElements[0] of type DOMNameSpaceNode|DOMNode|null (see https://psalm.dev/082)
|
PossiblyNullPropertyFetch:
tests/WSSecurity/XML/sp/SignedPartsTest.php#L116
tests/WSSecurity/XML/sp/SignedPartsTest.php:116:47: PossiblyNullPropertyFetch: Cannot get property on possibly null variable $SignedPartsElements[1] of type DOMNameSpaceNode|DOMNode|null (see https://psalm.dev/082)
|
PossiblyNullPropertyFetch:
tests/WSSecurity/XML/sp/SignedPartsTest.php#L117
tests/WSSecurity/XML/sp/SignedPartsTest.php:117:42: PossiblyNullPropertyFetch: Cannot get property on possibly null variable $SignedPartsElements[2] of type DOMNameSpaceNode|DOMNode|null (see https://psalm.dev/082)
|