Bump actions/checkout #2728
php.yml
on: push
Annotations
15 errors and 12 warnings
InvalidArgument:
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)
|
PossiblyInvalidArgument:
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)
|
PossiblyInvalidArgument:
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)
|
PossiblyInvalidArgument:
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)
|
MissingTemplateParam:
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)
|
UndefinedClass:
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)
|
UndefinedClass:
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)
|
UndefinedClass:
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)
|
UndefinedClass:
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)
|
UndefinedClass:
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)
|
Quality control
Process completed with exit code 1.
|
Unit tests, PHP 8.1, windows-latest:
tests/SAML2/XML/mdattr/EntityAttributesTest.php#L168
Failed asserting that two strings are equal.
|
Unit tests, PHP 8.1, windows-latest:
tests/SAML2/XML/mdattr/EntityAttributesTest.php#L181
Failed asserting that two strings are equal.
|
Unit tests, PHP 8.1, windows-latest
Process completed with exit code 1.
|
Unit tests, PHP 8.0, windows-latest
The job was canceled because "windows-latest_8_1" failed.
|
InvalidDocblockParamName:
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)
|
InvalidDocblockParamName:
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)
|
PossiblyNullReference:
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)
|
PossiblyNullReference:
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)
|
PossiblyNullReference:
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)
|
PossiblyNullReference:
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)
|
PossiblyNullReference:
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)
|
ArgumentTypeCoercion:
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)
|
PossiblyNullArgument:
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)
|
PossiblyNullReference:
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)
|
DocblockTypeContradiction:
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)
|
DocblockTypeContradiction:
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)
|