Suppress errors on long lines we cannot fix immediately #2718
Annotations
14 errors and 20 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/Certificate/Key.php#L18
src/SAML2/Certificate/Key.php:18:22: MissingTemplateParam: SimpleSAML\SAML2\Certificate\Key has missing template params when extending ArrayAccess, expecting 2 (see https://psalm.dev/182)
|
src/SAML2/Configuration/CertificateProvider.php#L19
src/SAML2/Configuration/CertificateProvider.php:19:16: MismatchingDocblockReturnType: Docblock has incorrect return type 'iterable<array-key|mixed, mixed>|null', should be 'Traversable|array<array-key, mixed>|null' (see https://psalm.dev/142)
|
src/SAML2/Configuration/IdentityProvider.php#L21
src/SAML2/Configuration/IdentityProvider.php:21:16: MismatchingDocblockReturnType: Docblock has incorrect return type 'iterable<array-key|mixed, mixed>|null', should be 'Traversable|array<array-key, mixed>|null' (see https://psalm.dev/142)
|
src/SAML2/Configuration/PrivateKey.php#L54
src/SAML2/Configuration/PrivateKey.php:54:16: RedundantCondition: string can never contain null (see https://psalm.dev/122)
|
src/SAML2/Configuration/ServiceProvider.php#L22
src/SAML2/Configuration/ServiceProvider.php:22:16: MismatchingDocblockReturnType: Docblock has incorrect return type 'iterable<array-key|mixed, mixed>|null', should be 'Traversable|array<array-key, mixed>|null' (see https://psalm.dev/142)
|
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)
|
src/SAML2/HTTPArtifact.php#L171
src/SAML2/HTTPArtifact.php:171:54: NullArgument: Argument 2 of SimpleSAML\SAML2\XML\samlp\ArtifactResolve::__construct cannot be null, null value provided to parameter with type DateTimeImmutable (see https://psalm.dev/057)
|
src/SAML2/HTTPArtifact.php#L194
src/SAML2/HTTPArtifact.php:194:24: UndefinedMethod: Method SimpleSAML\SAML2\XML\samlp\AbstractMessage::addValidator does not exist (see https://psalm.dev/022)
|
tests/SAML2/XML/md/IndexedEndpointTypeTest.php#L56
tests/SAML2/XML/md/IndexedEndpointTypeTest.php:56:60: UndefinedConstant: Constant SimpleSAML\SAML2\Constants::BINDING_IDPDISCO is not defined (see https://psalm.dev/020)
|
tests/SAML2/XML/mdui/DiscoHintsTest.php#L153
tests/SAML2/XML/mdui/DiscoHintsTest.php:153:73: UndefinedInterfaceMethod: Method SimpleSAML\XML\ElementInterface::getXML does not exist (see https://psalm.dev/181)
|
|
|
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/HTTPPost.php#L53
src/SAML2/HTTPPost.php:53:33: PossiblyNullArgument: Argument 1 of base64_encode cannot be null, possibly null value provided (see https://psalm.dev/078)
|
src/SAML2/HTTPPost.php#L85
src/SAML2/HTTPPost.php:85:45: 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/HTTPPost.php#L87
src/SAML2/HTTPPost.php:87:52: 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/HTTPPost.php#L94
src/SAML2/HTTPPost.php:94:50: ArgumentTypeCoercion: Argument 1 of SimpleSAML\XML\DOMDocumentFactory::fromString expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
|
src/SAML2/HTTPPost.php#L96
src/SAML2/HTTPPost.php:96:52: ArgumentTypeCoercion: Argument 1 of SimpleSAML\XML\DOMDocumentFactory::fromString expects non-empty-string, but parent type false|string provided (see https://psalm.dev/193)
|
src/SAML2/HTTPPost.php#L112
src/SAML2/HTTPPost.php:112:44: 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/HTTPRedirect.php#L65
src/SAML2/HTTPRedirect.php:65:29: PossiblyNullArgument: Argument 1 of gzdeflate cannot be null, possibly null value provided (see https://psalm.dev/078)
|
tests/SAML2/XML/md/AffiliationDescriptorTest.php#L43
tests/SAML2/XML/md/AffiliationDescriptorTest.php:43:78: ArgumentTypeCoercion: Argument 1 of SimpleSAML\SAML2\XML\md\AffiliationDescriptor::toXML expects DOMElement, but parent type DOMNode|null provided (see https://psalm.dev/193)
|
tests/SAML2/XML/md/AffiliationDescriptorTest.php#L43
tests/SAML2/XML/md/AffiliationDescriptorTest.php:43:78: PossiblyNullArgument: Argument 1 of SimpleSAML\SAML2\XML\md\AffiliationDescriptor::toXML cannot be null, possibly null value provided (see https://psalm.dev/078)
|
tests/SAML2/XML/md/AffiliationDescriptorTest.php#L85
tests/SAML2/XML/md/AffiliationDescriptorTest.php:85:58: ArgumentTypeCoercion: Argument 1 of SimpleSAML\SAML2\XML\md\AffiliationDescriptor::__construct expects DOMElement|null, but parent type DOMNode|null provided (see https://psalm.dev/193)
|
tests/SAML2/XML/md/AffiliationDescriptorTest.php#L110
tests/SAML2/XML/md/AffiliationDescriptorTest.php:110:35: ArgumentTypeCoercion: Argument 1 of SimpleSAML\SAML2\XML\md\AffiliationDescriptor::__construct expects DOMElement|null, but parent type DOMNode|null provided (see https://psalm.dev/193)
|
tests/SAML2/XML/md/AffiliationDescriptorTest.php#L130
tests/SAML2/XML/md/AffiliationDescriptorTest.php:130:35: ArgumentTypeCoercion: Argument 1 of SimpleSAML\SAML2\XML\md\AffiliationDescriptor::__construct expects DOMElement|null, but parent type DOMNode|null provided (see https://psalm.dev/193)
|
tests/SAML2/XML/md/EntityDescriptorTest.php#L36
tests/SAML2/XML/md/EntityDescriptorTest.php:36:30: ArgumentTypeCoercion: Argument 1 of SimpleSAML\SAML2\XML\md\EntityDescriptor::__construct expects DOMElement|null, but parent type DOMNode|null provided (see https://psalm.dev/193)
|
tests/SAML2/XML/md/EntityDescriptorTest.php#L55
tests/SAML2/XML/md/EntityDescriptorTest.php:55:30: ArgumentTypeCoercion: Argument 1 of SimpleSAML\SAML2\XML\md\EntityDescriptor::__construct expects DOMElement|null, but parent type DOMNode|null provided (see https://psalm.dev/193)
|
tests/SAML2/XML/md/EntityDescriptorTest.php#L73
tests/SAML2/XML/md/EntityDescriptorTest.php:73:30: ArgumentTypeCoercion: Argument 1 of SimpleSAML\SAML2\XML\md\EntityDescriptor::__construct expects DOMElement|null, but parent type DOMNode|null provided (see https://psalm.dev/193)
|
tests/SAML2/XML/md/EntityDescriptorTest.php#L91
tests/SAML2/XML/md/EntityDescriptorTest.php:91:30: ArgumentTypeCoercion: Argument 1 of SimpleSAML\SAML2\XML\md\EntityDescriptor::__construct expects DOMElement|null, but parent type DOMNode|null provided (see https://psalm.dev/193)
|
tests/SAML2/XML/md/EntityDescriptorTest.php#L109
tests/SAML2/XML/md/EntityDescriptorTest.php:109:30: ArgumentTypeCoercion: Argument 1 of SimpleSAML\SAML2\XML\md\EntityDescriptor::__construct expects DOMElement|null, but parent type DOMNode|null provided (see https://psalm.dev/193)
|
The logs for this run have expired and are no longer available.
Loading