WIP: create fed classes #262
php.yml
on: push
Annotations
10 errors and 10 warnings
UndefinedClass:
src/XML/fed/AbstractApplicationServiceType.php#L41
src/XML/fed/AbstractApplicationServiceType.php:41:15: UndefinedClass: Class, interface or enum named SimpleSAML\WSSecurity\XML\fed\ClaimTypesOffered does not exist (see https://psalm.dev/019)
|
UndefinedClass:
src/XML/fed/AbstractApplicationServiceType.php#L42
src/XML/fed/AbstractApplicationServiceType.php:42:15: UndefinedClass: Class, interface or enum named SimpleSAML\WSSecurity\XML\fed\ClaimTypesRequested does not exist (see https://psalm.dev/019)
|
MethodSignatureMismatch:
src/XML/fed/AbstractApplicationServiceType.php#L50
src/XML/fed/AbstractApplicationServiceType.php:50:5: MethodSignatureMismatch: Method SimpleSAML\WSSecurity\XML\fed\AbstractWebServiceDescriptorType::__construct is declared final and cannot be overridden (see https://psalm.dev/042)
|
MethodSignatureMismatch:
src/XML/fed/AbstractApplicationServiceType.php#L50
src/XML/fed/AbstractApplicationServiceType.php:50:5: MethodSignatureMismatch: Method SimpleSAML\WSSecurity\XML\fed\AbstractApplicationServiceType::__construct has fewer parameters than parent method SimpleSAML\WSSecurity\XML\fed\AbstractWebServiceDescriptorType::__construct (see https://psalm.dev/042)
|
ImplementedParamTypeMismatch:
src/XML/fed/AbstractApplicationServiceType.php#L70
src/XML/fed/AbstractApplicationServiceType.php:70:25: ImplementedParamTypeMismatch: Argument 20 of SimpleSAML\WSSecurity\XML\fed\AbstractApplicationServiceType::__construct has wrong type 'array<array-key, SimpleSAML\WSSecurity\XML\fed\ApplicationServiceEndpoint>', expecting 'array<array-key, SimpleSAML\WSSecurity\XML\fed\SecurityTokenServiceEndpoint>' as defined by SimpleSAML\WSSecurity\XML\fed\AbstractWebServiceDescriptorType::__construct (see https://psalm.dev/199)
|
ImplementedParamTypeMismatch:
src/XML/fed/AbstractApplicationServiceType.php#L71
src/XML/fed/AbstractApplicationServiceType.php:71:25: ImplementedParamTypeMismatch: Argument 21 of SimpleSAML\WSSecurity\XML\fed\AbstractApplicationServiceType::__construct has wrong type 'array<array-key, SimpleSAML\WSSecurity\XML\fed\SingleSignOutNotificationEndpoint>', expecting 'array<array-key, SimpleSAML\WSSecurity\XML\fed\SingleSignOutSubscriptionEndpoint>' as defined by SimpleSAML\WSSecurity\XML\fed\AbstractWebServiceDescriptorType::__construct (see https://psalm.dev/199)
|
UndefinedMethod:
src/XML/fed/AbstractApplicationServiceType.php#L158
src/XML/fed/AbstractApplicationServiceType.php:158:25: UndefinedMethod: Method SimpleSAML\WSSecurity\XML\fed\AbstractApplicationServiceType::getAttributeServiceEndpoint does not exist (see https://psalm.dev/022)
|
UndefinedClass:
src/XML/fed/AbstractAttributeServiceType.php#L41
src/XML/fed/AbstractAttributeServiceType.php:41:15: UndefinedClass: Class, interface or enum named SimpleSAML\WSSecurity\XML\fed\ClaimTypesOffered does not exist (see https://psalm.dev/019)
|
UndefinedClass:
src/XML/fed/AbstractAttributeServiceType.php#L42
src/XML/fed/AbstractAttributeServiceType.php:42:15: UndefinedClass: Class, interface or enum named SimpleSAML\WSSecurity\XML\fed\ClaimTypesRequested does not exist (see https://psalm.dev/019)
|
MethodSignatureMismatch:
src/XML/fed/AbstractAttributeServiceType.php#L50
src/XML/fed/AbstractAttributeServiceType.php:50:5: MethodSignatureMismatch: Method SimpleSAML\WSSecurity\XML\fed\AbstractWebServiceDescriptorType::__construct is declared final and cannot be overridden (see https://psalm.dev/042)
|
UnsafeInstantiation:
src/XML/auth/AbstractClaimType.php#L201
src/XML/auth/AbstractClaimType.php:201: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#L231
src/XML/auth/AbstractClaimType.php:231: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)
|
NonInvariantDocblockPropertyType:
src/XML/fed/AbstractApplicationServiceType.php#L72
src/XML/fed/AbstractApplicationServiceType.php:72:25: NonInvariantDocblockPropertyType: Property SimpleSAML\WSSecurity\XML\fed\AbstractApplicationServiceType::$passiveRequestorEndpoint has type array<array-key, mixed>, not invariant with SimpleSAML\WSSecurity\XML\fed\AbstractWebServiceDescriptorType::$passiveRequestorEndpoint of type array<array-key, SimpleSAML\WSSecurity\XML\fed\PassiveRequestorEndpoint> (see https://psalm.dev/267)
|
ArgumentTypeCoercion:
src/XML/fed/AbstractAssertionType.php#L43
src/XML/fed/AbstractAssertionType.php:43:32: ArgumentTypeCoercion: Argument 1 of SimpleSAML\WSSecurity\XML\fed\AbstractAssertionType::setAttributesNS expects list<SimpleSAML\XML\Attribute>, but parent type array<array-key, mixed> provided (see https://psalm.dev/193)
|
ArgumentTypeCoercion:
src/XML/fed/AbstractAttributeExtensibleString.php#L35
src/XML/fed/AbstractAttributeExtensibleString.php:35:32: ArgumentTypeCoercion: Argument 1 of SimpleSAML\WSSecurity\XML\fed\AbstractAttributeExtensibleString::setAttributesNS expects list<SimpleSAML\XML\Attribute>, but parent type array<array-key, SimpleSAML\XML\Attribute> provided (see https://psalm.dev/193)
|