Add assertion to ensure binding matches idpdisco-specs #2717
Annotations
13 errors and 12 warnings
src/SAML2/Assertion/Transformer/NameIdDecryptionTransformer.php#L103
src/SAML2/Assertion/Transformer/NameIdDecryptionTransformer.php:103:25: InvalidArgument: Argument 1 of SimpleSAML\SAML2\XML\saml\Subject::__construct expects SimpleSAML\SAML2\XML\saml\IdentifierInterface|null, but SimpleSAML\XML\ElementInterface provided (see https://psalm.dev/004)
|
src/SAML2/Binding.php#L102
src/SAML2/Binding.php:102:53: PossiblyInvalidArgument: Argument 2 of array_key_exists expects array<array-key, mixed>, but possibly different type array<array-key, mixed>|null|object provided (see https://psalm.dev/092)
|
src/SAML2/Binding.php#L102
src/SAML2/Binding.php:102:97: PossiblyInvalidArgument: Argument 2 of array_key_exists expects array<array-key, mixed>, but possibly different type array<array-key, mixed>|null|object provided (see https://psalm.dev/092)
|
src/SAML2/Binding.php#L104
src/SAML2/Binding.php:104:55: PossiblyInvalidArgument: Argument 2 of array_key_exists expects array<array-key, mixed>, but possibly different type array<array-key, mixed>|null|object provided (see https://psalm.dev/092)
|
src/SAML2/Certificate/Key.php#L20
src/SAML2/Certificate/Key.php:20:22: MissingTemplateParam: SimpleSAML\SAML2\Certificate\Key has missing template params when extending ArrayAccess, expecting 2 (see https://psalm.dev/182)
|
src/SAML2/Certificate/PrivateKeyLoader.php#L48
src/SAML2/Certificate/PrivateKeyLoader.php:48:24: UndefinedClass: Class, interface or enum named SimpleSAML\XMLSecurity\XMLSecurityKey does not exist (see https://psalm.dev/019)
|
src/SAML2/Certificate/PrivateKeyLoader.php#L48
src/SAML2/Certificate/PrivateKeyLoader.php:48:39: UndefinedClass: Class, interface or enum named SimpleSAML\XMLSecurity\XMLSecurityKey does not exist (see https://psalm.dev/019)
|
src/SAML2/Certificate/PrivateKeyLoader.php#L74
src/SAML2/Certificate/PrivateKeyLoader.php:74:73: UndefinedClass: Class, interface or enum named SimpleSAML\XMLSecurity\XMLSecurityKey does not exist (see https://psalm.dev/019)
|
src/SAML2/HTTPArtifact.php#L95
src/SAML2/HTTPArtifact.php:95:16: UndefinedClass: Class, interface or enum named SimpleSAML\Utils\HTTP does not exist (see https://psalm.dev/019)
|
src/SAML2/HTTPArtifact.php#L168
src/SAML2/HTTPArtifact.php:168:30: UndefinedClass: Class, interface or enum named SimpleSAML\Configuration does not exist (see https://psalm.dev/019)
|
tests/SAML2/XML/md/IndexedEndpointTypeTest.php#L54
tests/SAML2/XML/md/IndexedEndpointTypeTest.php:54:60: UndefinedConstant: Constant SimpleSAML\Test\SAML2\Constants::BINDING_IDPDISCO is not defined (see https://psalm.dev/020)
|
|
|
src/SAML2/XML/md/AttributeAuthorityDescriptor.php#L31
src/SAML2/XML/md/AttributeAuthorityDescriptor.php:31:68: InvalidDocblockParamName: Incorrect param name $asssertionIDRequestService in docblock for SimpleSAML\SAML2\XML\md\AttributeAuthorityDescriptor::__construct (see https://psalm.dev/187)
|
src/SAML2/XML/mdui/UIInfo.php#L230
src/SAML2/XML/mdui/UIInfo.php:230:8: InvalidDocblockParamName: Incorrect param name $items in docblock for SimpleSAML\SAML2\XML\mdui\UIInfo::testLocalizedElements (see https://psalm.dev/187)
|
tests/SAML2/XML/md/EntityDescriptorTest.php#L277
tests/SAML2/XML/md/EntityDescriptorTest.php:277:75: PossiblyNullReference: Cannot call method format on possibly null value (see https://psalm.dev/083)
|
tests/SAML2/XML/md/EntityDescriptorTest.php#L394
tests/SAML2/XML/md/EntityDescriptorTest.php:394:89: PossiblyNullReference: Cannot call method format on possibly null value (see https://psalm.dev/083)
|
tests/SAML2/XML/md/RoleDescriptorTest.php#L190
tests/SAML2/XML/md/RoleDescriptorTest.php:190:83: PossiblyNullReference: Cannot call method format on possibly null value (see https://psalm.dev/083)
|
tests/SAML2/XML/md/RoleDescriptorTest.php#L238
tests/SAML2/XML/md/RoleDescriptorTest.php:238:83: PossiblyNullReference: Cannot call method format on possibly null value (see https://psalm.dev/083)
|
tests/SAML2/XML/md/RoleDescriptorTest.php#L256
tests/SAML2/XML/md/RoleDescriptorTest.php:256:54: PossiblyNullReference: Cannot call method saveXML on possibly null value (see https://psalm.dev/083)
|
tests/SAML2/XML/saml/AssertionTest.php#L322
tests/SAML2/XML/saml/AssertionTest.php:322:80: ArgumentTypeCoercion: Argument 1 of SimpleSAML\XML\DOMDocumentFactory::fromString expects non-empty-string, but parent type false|null|string provided (see https://psalm.dev/193)
|
tests/SAML2/XML/saml/AssertionTest.php#L322
tests/SAML2/XML/saml/AssertionTest.php:322:80: PossiblyNullArgument: Argument 1 of SimpleSAML\XML\DOMDocumentFactory::fromString cannot be null, possibly null value provided (see https://psalm.dev/078)
|
tests/SAML2/XML/saml/AssertionTest.php#L336
tests/SAML2/XML/saml/AssertionTest.php:336:96: PossiblyNullReference: Cannot call method format on possibly null value (see https://psalm.dev/083)
|
tests/SAML2/XML/saml/AssertionTest.php#L576
tests/SAML2/XML/saml/AssertionTest.php:576:16: DocblockTypeContradiction: Cannot resolve types for $mValue - docblock-defined type array<array-key, SimpleSAML\SAML2\XML\saml\AttributeValue|SimpleSAML\SAML2\XML\saml\IdentifierInterface> does not contain SimpleSAML\SAML2\XML\saml\NameID (see https://psalm.dev/155)
|
tests/SAML2/XML/saml/AssertionTest.php#L577
tests/SAML2/XML/saml/AssertionTest.php:577:16: DocblockTypeContradiction: Cannot resolve types for $oValue - docblock-defined type array<array-key, SimpleSAML\SAML2\XML\saml\AttributeValue|SimpleSAML\SAML2\XML\saml\IdentifierInterface> does not contain SimpleSAML\SAML2\XML\saml\NameID (see https://psalm.dev/155)
|
The logs for this run have expired and are no longer available.
Loading