From 3b87b57ee64f4381f47047d6c99de3609cb2342f Mon Sep 17 00:00:00 2001 From: Tim van Dijen Date: Sat, 15 Jun 2024 00:35:21 +0200 Subject: [PATCH] Add trailing comma's --- src/XML/auth/AbstractConstrainedManyValueType.php | 2 +- src/XML/auth/AbstractConstrainedSingleValueType.php | 2 +- src/XML/auth/AbstractConstrainedValueType.php | 2 +- src/XML/auth/AbstractEncryptedValueType.php | 2 +- src/XML/auth/AbstractStructuredValueType.php | 2 +- src/XML/auth/AbstractValueInRangeType.php | 2 +- src/XML/fed/AbstractAssertionType.php | 2 +- src/XML/fed/AbstractClaimDialectType.php | 2 +- src/XML/fed/AbstractClaimDialectsOfferedType.php | 2 +- src/XML/fed/AbstractClaimTypesOfferedType.php | 2 +- src/XML/fed/AbstractClaimTypesRequestedType.php | 2 +- src/XML/fed/AbstractClientPseudonymType.php | 2 +- src/XML/fed/AbstractFederationMetadataHandlerType.php | 2 +- src/XML/fed/AbstractFederationMetadataType.php | 2 +- src/XML/fed/AbstractFederationType.php | 2 +- src/XML/fed/AbstractFreshnessType.php | 2 +- src/XML/fed/AbstractIssuerNameType.php | 2 +- src/XML/fed/AbstractLogicalServiceNamesOfferedType.php | 2 +- src/XML/fed/AbstractProofTokenType.php | 2 +- src/XML/fed/AbstractPseudonymBasisType.php | 2 +- src/XML/fed/AbstractRelativeToType.php | 2 +- src/XML/fed/AbstractRequestProofTokenType.php | 2 +- src/XML/fed/AbstractRequestPseudonymType.php | 2 +- src/XML/fed/AbstractSecurityTokenType.php | 2 +- src/XML/fed/AbstractTokenType.php | 2 +- src/XML/fed/AbstractTokenTypesOfferedType.php | 2 +- src/XML/sp/AbstractEmptyType.php | 2 +- src/XML/sp/AbstractHeaderType.php | 4 ++-- src/XML/sp/AbstractIssuedTokenType.php | 4 ++-- src/XML/sp/AbstractKeyValueTokenType.php | 4 ++-- src/XML/sp/AbstractQNameAssertionType.php | 4 ++-- src/XML/sp/AbstractReqPartsType.php | 4 ++-- src/XML/sp/AbstractRequestSecurityTokenTemplateType.php | 4 ++-- src/XML/sp/AbstractSePartsType.php | 4 ++-- src/XML/sp/AbstractSecureConversationTokenType.php | 4 ++-- src/XML/sp/AbstractSerElementsType.php | 4 ++-- src/XML/sp/AbstractSpnegoContextTokenType.php | 4 ++-- src/XML/sp/AbstractTokenAssertionType.php | 4 ++-- src/XML/sp/XPath.php | 2 +- src/XML/wsa/AbstractEndpointReferenceType.php | 4 ++-- src/XML/wsa/AbstractProblemActionType.php | 2 +- src/XML/wsa/Metadata.php | 2 +- src/XML/wsa/ReferenceParameters.php | 2 +- src/XML/wsa/RelatesTo.php | 2 +- src/XML/wsp/AbstractOperatorContentType.php | 2 +- src/XML/wsp/AppliesTo.php | 2 +- src/XML/wsp/Policy.php | 2 +- src/XML/wsp/PolicyAttachment.php | 4 ++-- src/XML/wsp/PolicyReference.php | 2 +- src/XML/wsse/AbstractAttributedString.php | 2 +- src/XML/wsse/AbstractBinarySecurityTokenType.php | 2 +- src/XML/wsse/AbstractEmbeddedType.php | 2 +- src/XML/wsse/AbstractEncodedString.php | 2 +- src/XML/wsse/AbstractKeyIdentifierType.php | 2 +- src/XML/wsse/AbstractPasswordString.php | 2 +- src/XML/wsse/AbstractReferenceType.php | 2 +- src/XML/wsse/AbstractSecurityHeaderType.php | 2 +- src/XML/wsse/AbstractSecurityTokenReferenceType.php | 2 +- src/XML/wsse/AbstractTransformationParametersType.php | 2 +- src/XML/wsse/AbstractUsernameTokenType.php | 2 +- src/XML/wst/AbstractAuthenticatorType.php | 2 +- src/XML/wst/AbstractBinaryExchangeType.php | 2 +- src/XML/wst/AbstractBinarySecretType.php | 2 +- src/XML/wst/AbstractCancelTargetType.php | 2 +- src/XML/wst/AbstractClaimsType.php | 2 +- src/XML/wst/AbstractDelegateToType.php | 2 +- src/XML/wst/AbstractEncryptionType.php | 2 +- src/XML/wst/AbstractEntropyType.php | 2 +- src/XML/wst/AbstractKeyExchangeTokenType.php | 2 +- src/XML/wst/AbstractLifetimeType.php | 2 +- src/XML/wst/AbstractOnBehalfOfType.php | 2 +- src/XML/wst/AbstractParticipantType.php | 2 +- src/XML/wst/AbstractParticipantsType.php | 2 +- src/XML/wst/AbstractProofEncryptionType.php | 2 +- src/XML/wst/AbstractRenewTargetType.php | 2 +- src/XML/wst/AbstractRenewingType.php | 2 +- src/XML/wst/AbstractRequestSecurityTokenCollectionType.php | 2 +- .../AbstractRequestSecurityTokenResponseCollectionType.php | 2 +- src/XML/wst/AbstractRequestSecurityTokenResponseType.php | 2 +- src/XML/wst/AbstractRequestSecurityTokenType.php | 2 +- src/XML/wst/AbstractRequestedProofTokenType.php | 2 +- src/XML/wst/AbstractRequestedReferenceType.php | 2 +- src/XML/wst/AbstractRequestedSecurityTokenType.php | 2 +- src/XML/wst/AbstractSignChallengeType.php | 2 +- src/XML/wst/AbstractStatusType.php | 2 +- src/XML/wst/AbstractUseKeyType.php | 2 +- src/XML/wst/AbstractValidateTargetType.php | 2 +- src/XML/wsu/AbstractAttributedDateTime.php | 2 +- src/XML/wsu/AbstractAttributedURI.php | 2 +- src/XML/wsu/AbstractTimestamp.php | 2 +- src/XML/wsx/GetMetadata.php | 2 +- src/XML/wsx/Metadata.php | 2 +- src/XML/wsx/MetadataReference.php | 2 +- src/XML/wsx/MetadataSection.php | 2 +- 94 files changed, 107 insertions(+), 107 deletions(-) diff --git a/src/XML/auth/AbstractConstrainedManyValueType.php b/src/XML/auth/AbstractConstrainedManyValueType.php index d53146f7..da36103d 100644 --- a/src/XML/auth/AbstractConstrainedManyValueType.php +++ b/src/XML/auth/AbstractConstrainedManyValueType.php @@ -23,7 +23,7 @@ abstract class AbstractConstrainedManyValueType extends AbstractAuthElement */ final public function __construct( protected array $value = [], - protected array $structuredValue = [] + protected array $structuredValue = [], ) { Assert::oneOf( [], diff --git a/src/XML/auth/AbstractConstrainedSingleValueType.php b/src/XML/auth/AbstractConstrainedSingleValueType.php index e0339361..f9583b1a 100644 --- a/src/XML/auth/AbstractConstrainedSingleValueType.php +++ b/src/XML/auth/AbstractConstrainedSingleValueType.php @@ -26,7 +26,7 @@ abstract class AbstractConstrainedSingleValueType extends AbstractAuthElement */ final public function __construct( protected ?Value $value = null, - protected ?StructuredValue $structuredValue = null + protected ?StructuredValue $structuredValue = null, ) { Assert::oneOf( null, diff --git a/src/XML/auth/AbstractConstrainedValueType.php b/src/XML/auth/AbstractConstrainedValueType.php index f9551c5f..97791a21 100644 --- a/src/XML/auth/AbstractConstrainedValueType.php +++ b/src/XML/auth/AbstractConstrainedValueType.php @@ -47,7 +47,7 @@ abstract class AbstractConstrainedValueType extends AbstractAuthElement final public function __construct( protected ValueLessThan|ValueLessThanOrEqual|ValueGreaterThan|ValueGreaterThanOrEqual|ValueInRangen|ValueOneOf $value, array $children = [], - protected ?bool $assertConstraint = null + protected ?bool $assertConstraint = null, ) { $this->setElements($children); } diff --git a/src/XML/auth/AbstractEncryptedValueType.php b/src/XML/auth/AbstractEncryptedValueType.php index 994dd25c..9c028d03 100644 --- a/src/XML/auth/AbstractEncryptedValueType.php +++ b/src/XML/auth/AbstractEncryptedValueType.php @@ -29,7 +29,7 @@ abstract class AbstractEncryptedValueType extends AbstractAuthElement */ final public function __construct( protected EncryptedData $encryptedData, - protected ?string $descriptionCondition = null + protected ?string $descriptionCondition = null, ) { Assert::nullOrValidURI($descriptionCondition, SchemaViolationException::class); } diff --git a/src/XML/auth/AbstractStructuredValueType.php b/src/XML/auth/AbstractStructuredValueType.php index 4eed2074..daa4179c 100644 --- a/src/XML/auth/AbstractStructuredValueType.php +++ b/src/XML/auth/AbstractStructuredValueType.php @@ -37,7 +37,7 @@ abstract class AbstractStructuredValueType extends AbstractAuthElement */ final public function __construct( array $children = [], - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { // Next one is debatable since the schema allows an empty element, but that makes zero sense Assert::allNotEmpty([$children, $namespacedAttributes]); diff --git a/src/XML/auth/AbstractValueInRangeType.php b/src/XML/auth/AbstractValueInRangeType.php index cad36bf2..9fb31d94 100644 --- a/src/XML/auth/AbstractValueInRangeType.php +++ b/src/XML/auth/AbstractValueInRangeType.php @@ -25,7 +25,7 @@ abstract class AbstractValueInRangeType extends AbstractAuthElement */ final public function __construct( protected ValueUpperBound $valueUpperBound, - protected ValueLowerBound $valueLowerBound + protected ValueLowerBound $valueLowerBound, ) { } diff --git a/src/XML/fed/AbstractAssertionType.php b/src/XML/fed/AbstractAssertionType.php index ff07c8b1..e5bef298 100644 --- a/src/XML/fed/AbstractAssertionType.php +++ b/src/XML/fed/AbstractAssertionType.php @@ -37,7 +37,7 @@ abstract class AbstractAssertionType extends AbstractFedElement */ final public function __construct( array $children = [], - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { $this->setElements($children); $this->setAttributesNS($namespacedAttributes); diff --git a/src/XML/fed/AbstractClaimDialectType.php b/src/XML/fed/AbstractClaimDialectType.php index 38b324ab..1e8b8d51 100644 --- a/src/XML/fed/AbstractClaimDialectType.php +++ b/src/XML/fed/AbstractClaimDialectType.php @@ -40,7 +40,7 @@ abstract class AbstractClaimDialectType extends AbstractFedElement final public function __construct( protected ?string $Uri = null, array $children = [], - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { Assert::nullOrValidURI($Uri, SchemaViolationException::class); // Next one is debatable since the schema allows an empty element, but that makes zero sense diff --git a/src/XML/fed/AbstractClaimDialectsOfferedType.php b/src/XML/fed/AbstractClaimDialectsOfferedType.php index a67ed98e..192e2d1e 100644 --- a/src/XML/fed/AbstractClaimDialectsOfferedType.php +++ b/src/XML/fed/AbstractClaimDialectsOfferedType.php @@ -34,7 +34,7 @@ abstract class AbstractClaimDialectsOfferedType extends AbstractFedElement */ final public function __construct( protected array $claimDialect, - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { Assert::notEmpty($claimDialect, SchemaViolationException::class); Assert::allIsInstanceOf($claimDialect, ClaimDialect::class); diff --git a/src/XML/fed/AbstractClaimTypesOfferedType.php b/src/XML/fed/AbstractClaimTypesOfferedType.php index 2f5d4300..00743697 100644 --- a/src/XML/fed/AbstractClaimTypesOfferedType.php +++ b/src/XML/fed/AbstractClaimTypesOfferedType.php @@ -34,7 +34,7 @@ abstract class AbstractClaimTypesOfferedType extends AbstractFedElement */ final public function __construct( protected array $claimType, - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { Assert::notEmpty($claimType, SchemaViolationException::class); Assert::allIsInstanceOf($claimType, ClaimType::class); diff --git a/src/XML/fed/AbstractClaimTypesRequestedType.php b/src/XML/fed/AbstractClaimTypesRequestedType.php index 078a7dae..310ed790 100644 --- a/src/XML/fed/AbstractClaimTypesRequestedType.php +++ b/src/XML/fed/AbstractClaimTypesRequestedType.php @@ -34,7 +34,7 @@ abstract class AbstractClaimTypesRequestedType extends AbstractFedElement */ final public function __construct( protected array $claimType, - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { Assert::notEmpty($claimType, SchemaViolationException::class); Assert::allIsInstanceOf($claimType, ClaimType::class); diff --git a/src/XML/fed/AbstractClientPseudonymType.php b/src/XML/fed/AbstractClientPseudonymType.php index 0fdd5b1c..4a5faf79 100644 --- a/src/XML/fed/AbstractClientPseudonymType.php +++ b/src/XML/fed/AbstractClientPseudonymType.php @@ -46,7 +46,7 @@ final public function __construct( protected ?DisplayName $displayName = null, protected ?EMail $email = null, array $children = [], - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { $this->setElements($children); $this->setAttributesNS($namespacedAttributes); diff --git a/src/XML/fed/AbstractFederationMetadataHandlerType.php b/src/XML/fed/AbstractFederationMetadataHandlerType.php index 45c5ddc0..d790ceca 100644 --- a/src/XML/fed/AbstractFederationMetadataHandlerType.php +++ b/src/XML/fed/AbstractFederationMetadataHandlerType.php @@ -29,7 +29,7 @@ abstract class AbstractFederationMetadataHandlerType extends AbstractFedElement * @param \SimpleSAML\XML\Attribute[] $namespacedAttributes */ final public function __construct( - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { $this->setAttributesNS($namespacedAttributes); } diff --git a/src/XML/fed/AbstractFederationMetadataType.php b/src/XML/fed/AbstractFederationMetadataType.php index 1b6321e8..6ec13cce 100644 --- a/src/XML/fed/AbstractFederationMetadataType.php +++ b/src/XML/fed/AbstractFederationMetadataType.php @@ -40,7 +40,7 @@ abstract class AbstractFederationMetadataType extends AbstractFedElement final public function __construct( protected array $federation = [], array $children = [], - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { Assert::minCount($federation, 1, SchemaViolationException::class); diff --git a/src/XML/fed/AbstractFederationType.php b/src/XML/fed/AbstractFederationType.php index 8e9b7660..e3c7abb6 100644 --- a/src/XML/fed/AbstractFederationType.php +++ b/src/XML/fed/AbstractFederationType.php @@ -40,7 +40,7 @@ abstract class AbstractFederationType extends AbstractFedElement final public function __construct( protected ?string $FederationID = null, array $children = [], - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { Assert::nullOrValidURI($FederationID, SchemaViolationException::class); diff --git a/src/XML/fed/AbstractFreshnessType.php b/src/XML/fed/AbstractFreshnessType.php index cd84f5dc..a1b0b3b6 100644 --- a/src/XML/fed/AbstractFreshnessType.php +++ b/src/XML/fed/AbstractFreshnessType.php @@ -40,7 +40,7 @@ abstract class AbstractFreshnessType extends AbstractFedElement final public function __construct( int $content, protected ?bool $AllowCache = null, - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { $this->setContent(strval($content)); $this->setAttributesNS($namespacedAttributes); diff --git a/src/XML/fed/AbstractIssuerNameType.php b/src/XML/fed/AbstractIssuerNameType.php index 9cf28aa9..71f08f2e 100644 --- a/src/XML/fed/AbstractIssuerNameType.php +++ b/src/XML/fed/AbstractIssuerNameType.php @@ -32,7 +32,7 @@ abstract class AbstractIssuerNameType extends AbstractFedElement */ final public function __construct( protected string $Uri, - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { Assert::validURI($Uri, SchemaViolationException::class); diff --git a/src/XML/fed/AbstractLogicalServiceNamesOfferedType.php b/src/XML/fed/AbstractLogicalServiceNamesOfferedType.php index e7407b4d..20db78e0 100644 --- a/src/XML/fed/AbstractLogicalServiceNamesOfferedType.php +++ b/src/XML/fed/AbstractLogicalServiceNamesOfferedType.php @@ -34,7 +34,7 @@ abstract class AbstractLogicalServiceNamesOfferedType extends AbstractFedElement */ final public function __construct( protected array $issuerName, - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { Assert::notEmpty($issuerName, SchemaViolationException::class); Assert::allIsInstanceOf($issuerName, IssuerName::class); diff --git a/src/XML/fed/AbstractProofTokenType.php b/src/XML/fed/AbstractProofTokenType.php index a19c32f7..bd95b884 100644 --- a/src/XML/fed/AbstractProofTokenType.php +++ b/src/XML/fed/AbstractProofTokenType.php @@ -39,7 +39,7 @@ abstract class AbstractProofTokenType extends AbstractFedElement */ final public function __construct( protected SerializableElementinterface $child, - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { $this->setElements([$child]); $this->setAttributesNS($namespacedAttributes); diff --git a/src/XML/fed/AbstractPseudonymBasisType.php b/src/XML/fed/AbstractPseudonymBasisType.php index 88cf25ea..6415b777 100644 --- a/src/XML/fed/AbstractPseudonymBasisType.php +++ b/src/XML/fed/AbstractPseudonymBasisType.php @@ -40,7 +40,7 @@ abstract class AbstractPseudonymBasisType extends AbstractFedElement */ final public function __construct( SerializableElementInterface $child, - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { $this->setElements([$child]); $this->setAttributesNS($namespacedAttributes); diff --git a/src/XML/fed/AbstractRelativeToType.php b/src/XML/fed/AbstractRelativeToType.php index 69a3e10e..fdcfeab3 100644 --- a/src/XML/fed/AbstractRelativeToType.php +++ b/src/XML/fed/AbstractRelativeToType.php @@ -37,7 +37,7 @@ abstract class AbstractRelativeToType extends AbstractFedElement */ final public function __construct( array $children = [], - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { $this->setElements($children); $this->setAttributesNS($namespacedAttributes); diff --git a/src/XML/fed/AbstractRequestProofTokenType.php b/src/XML/fed/AbstractRequestProofTokenType.php index a980ba00..a52eb0d8 100644 --- a/src/XML/fed/AbstractRequestProofTokenType.php +++ b/src/XML/fed/AbstractRequestProofTokenType.php @@ -37,7 +37,7 @@ abstract class AbstractRequestProofTokenType extends AbstractFedElement */ final public function __construct( array $children = [], - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { $this->setElements($children); $this->setAttributesNS($namespacedAttributes); diff --git a/src/XML/fed/AbstractRequestPseudonymType.php b/src/XML/fed/AbstractRequestPseudonymType.php index 8724f318..8fe9e9ae 100644 --- a/src/XML/fed/AbstractRequestPseudonymType.php +++ b/src/XML/fed/AbstractRequestPseudonymType.php @@ -41,7 +41,7 @@ final public function __construct( protected ?bool $SingleUse = null, protected ?bool $Lookup = null, array $children = [], - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { $this->setElements($children); $this->setAttributesNS($namespacedAttributes); diff --git a/src/XML/fed/AbstractSecurityTokenType.php b/src/XML/fed/AbstractSecurityTokenType.php index 0be4fc99..9940fc3e 100644 --- a/src/XML/fed/AbstractSecurityTokenType.php +++ b/src/XML/fed/AbstractSecurityTokenType.php @@ -39,7 +39,7 @@ abstract class AbstractSecurityTokenType extends AbstractFedElement */ final public function __construct( protected SerializableElementinterface $child, - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { $this->setElements([$child]); $this->setAttributesNS($namespacedAttributes); diff --git a/src/XML/fed/AbstractTokenType.php b/src/XML/fed/AbstractTokenType.php index a11e9106..1a295893 100644 --- a/src/XML/fed/AbstractTokenType.php +++ b/src/XML/fed/AbstractTokenType.php @@ -40,7 +40,7 @@ abstract class AbstractTokenType extends AbstractFedElement final public function __construct( protected ?string $Uri = null, array $children = [], - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { Assert::nullOrValidURI($Uri, SchemaViolationException::class); diff --git a/src/XML/fed/AbstractTokenTypesOfferedType.php b/src/XML/fed/AbstractTokenTypesOfferedType.php index 03d39689..0d2fc428 100644 --- a/src/XML/fed/AbstractTokenTypesOfferedType.php +++ b/src/XML/fed/AbstractTokenTypesOfferedType.php @@ -42,7 +42,7 @@ abstract class AbstractTokenTypesOfferedType extends AbstractFedElement final public function __construct( protected array $tokenType, array $children = [], - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { Assert::notEmpty($tokenType, SchemaViolationException::class); Assert::allIsInstanceOf($tokenType, TokenType::class); diff --git a/src/XML/sp/AbstractEmptyType.php b/src/XML/sp/AbstractEmptyType.php index 48e2c8c3..2d2e7e81 100644 --- a/src/XML/sp/AbstractEmptyType.php +++ b/src/XML/sp/AbstractEmptyType.php @@ -43,7 +43,7 @@ public static function fromXML(DOMElement $xml): static $xml->localName, $qualifiedName, sprintf('Unexpected name for EmptyType: %s. Expected: %s.', $xml->localName, $qualifiedName), - InvalidDOMElementException::class + InvalidDOMElementException::class, ); diff --git a/src/XML/sp/AbstractHeaderType.php b/src/XML/sp/AbstractHeaderType.php index 5415c1fe..8c0bca91 100644 --- a/src/XML/sp/AbstractHeaderType.php +++ b/src/XML/sp/AbstractHeaderType.php @@ -35,7 +35,7 @@ abstract class AbstractHeaderType extends AbstractSpElement final public function __construct( protected string $namespace, protected ?string $name = null, - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { Assert::validURI($namespace); Assert::nullOrValidQName($name); @@ -84,7 +84,7 @@ public static function fromXML(DOMElement $xml): static $xml->localName, $qualifiedName, sprintf('Unexpected name for HeaderType: %s. Expected: %s.', $xml->localName, $qualifiedName), - InvalidDOMElementException::class + InvalidDOMElementException::class, ); $namespacedAttributes = self::getAttributesNSFromXML($xml); diff --git a/src/XML/sp/AbstractIssuedTokenType.php b/src/XML/sp/AbstractIssuedTokenType.php index c12da912..d687e8f3 100644 --- a/src/XML/sp/AbstractIssuedTokenType.php +++ b/src/XML/sp/AbstractIssuedTokenType.php @@ -51,7 +51,7 @@ final public function __construct( protected Issuer|IssuerName|null $issuer, ?IncludeToken $includeToken = null, array $elts = [], - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { $this->setIncludeToken($includeToken); $this->setElements($elts); @@ -99,7 +99,7 @@ public static function fromXML(DOMElement $xml): static $xml->localName, $qualifiedName, sprintf('Unexpected name for IssuedTokenType: %s. Expected: %s.', $xml->localName, $qualifiedName), - InvalidDOMElementException::class + InvalidDOMElementException::class, ); $issuer = Issuer::getChildrenOfClass($xml); diff --git a/src/XML/sp/AbstractKeyValueTokenType.php b/src/XML/sp/AbstractKeyValueTokenType.php index 23fabed6..fa9167e1 100644 --- a/src/XML/sp/AbstractKeyValueTokenType.php +++ b/src/XML/sp/AbstractKeyValueTokenType.php @@ -44,7 +44,7 @@ abstract class AbstractKeyValueTokenType extends AbstractSpElement final public function __construct( ?IncludeToken $includeToken = null, array $elts = [], - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { $this->setIncludeToken($includeToken); $this->setElements($elts); @@ -83,7 +83,7 @@ public static function fromXML(DOMElement $xml): static $xml->localName, $qualifiedName, sprintf('Unexpected name for KeyValueTokenType: %s. Expected: %s.', $xml->localName, $qualifiedName), - InvalidDOMElementException::class + InvalidDOMElementException::class, ); try { diff --git a/src/XML/sp/AbstractQNameAssertionType.php b/src/XML/sp/AbstractQNameAssertionType.php index 5b09941b..cd89aea7 100644 --- a/src/XML/sp/AbstractQNameAssertionType.php +++ b/src/XML/sp/AbstractQNameAssertionType.php @@ -31,7 +31,7 @@ abstract class AbstractQNameAssertionType extends AbstractSpElement * @param list<\SimpleSAML\XML\Attribute> $namespacedAttributes */ final public function __construct( - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { $this->setAttributesNS($namespacedAttributes); } @@ -55,7 +55,7 @@ public static function fromXML(DOMElement $xml): static $xml->localName, $qualifiedName, sprintf('Unexpected name for QNameAssertion: %s. Expected: %s.', $xml->localName, $qualifiedName), - InvalidDOMElementException::class + InvalidDOMElementException::class, ); diff --git a/src/XML/sp/AbstractReqPartsType.php b/src/XML/sp/AbstractReqPartsType.php index c4e9b858..1112ef5e 100644 --- a/src/XML/sp/AbstractReqPartsType.php +++ b/src/XML/sp/AbstractReqPartsType.php @@ -42,7 +42,7 @@ abstract class AbstractReqPartsType extends AbstractSpElement final public function __construct( protected array $header = [], array $details = [], - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { $this->setElements($details); $this->setAttributesNS($namespacedAttributes); @@ -91,7 +91,7 @@ public static function fromXML(DOMElement $xml): static $xml->localName, $qualifiedName, sprintf('Unexpected name for Empty: %s. Expected: %s.', $xml->localName, $qualifiedName), - InvalidDOMElementException::class + InvalidDOMElementException::class, ); $header = Header::getChildrenOfClass($xml); diff --git a/src/XML/sp/AbstractRequestSecurityTokenTemplateType.php b/src/XML/sp/AbstractRequestSecurityTokenTemplateType.php index cf38ac08..e605c400 100644 --- a/src/XML/sp/AbstractRequestSecurityTokenTemplateType.php +++ b/src/XML/sp/AbstractRequestSecurityTokenTemplateType.php @@ -41,7 +41,7 @@ abstract class AbstractRequestSecurityTokenTemplateType extends AbstractSpElemen final public function __construct( protected ?string $trustVersion = null, array $elts = [], - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { Assert::nullOrValidURI($trustVersion); @@ -94,7 +94,7 @@ public static function fromXML(DOMElement $xml): static $xml->localName, $qualifiedName, ), - InvalidDOMElementException::class + InvalidDOMElementException::class, ); $elements = []; diff --git a/src/XML/sp/AbstractSePartsType.php b/src/XML/sp/AbstractSePartsType.php index 40e6ba42..82f618a3 100644 --- a/src/XML/sp/AbstractSePartsType.php +++ b/src/XML/sp/AbstractSePartsType.php @@ -47,7 +47,7 @@ final public function __construct( protected array $header = [], protected ?Attachments $attachments = null, array $details = [], - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { $this->setElements($details); $this->setAttributesNS($namespacedAttributes); @@ -120,7 +120,7 @@ public static function fromXML(DOMElement $xml): static $xml->localName, $qualifiedName, sprintf('Unexpected name for Empty: %s. Expected: %s.', $xml->localName, $qualifiedName), - InvalidDOMElementException::class + InvalidDOMElementException::class, ); $body = Body::getChildrenOfClass($xml); diff --git a/src/XML/sp/AbstractSecureConversationTokenType.php b/src/XML/sp/AbstractSecureConversationTokenType.php index bdecc3a3..3c0d17d1 100644 --- a/src/XML/sp/AbstractSecureConversationTokenType.php +++ b/src/XML/sp/AbstractSecureConversationTokenType.php @@ -47,7 +47,7 @@ final public function __construct( protected Issuer|IssuerName|null $issuer, ?IncludeToken $includeToken = null, array $elts = [], - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { $this->setIncludeToken($includeToken); $this->setElements($elts); @@ -98,7 +98,7 @@ public static function fromXML(DOMElement $xml): static $xml->localName, $qualifiedName, sprintf('Unexpected name for IssuedTokenType: %s. Expected: %s.', $xml->localName, $qualifiedName), - InvalidDOMElementException::class + InvalidDOMElementException::class, ); $issuer = Issuer::getChildrenOfClass($xml); diff --git a/src/XML/sp/AbstractSerElementsType.php b/src/XML/sp/AbstractSerElementsType.php index 07c2695e..008b1684 100644 --- a/src/XML/sp/AbstractSerElementsType.php +++ b/src/XML/sp/AbstractSerElementsType.php @@ -44,7 +44,7 @@ final public function __construct( protected array $xpath, protected ?string $xpathVersion = null, array $elts = [], - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { Assert::minCount($xpath, 1, SchemaViolationException::class); Assert::nullOrValidURI($xpathVersion); @@ -94,7 +94,7 @@ public static function fromXML(DOMElement $xml): static $xml->localName, $qualifiedName, sprintf('Unexpected name for SerElementsType: %s. Expected: %s.', $xml->localName, $qualifiedName), - InvalidDOMElementException::class + InvalidDOMElementException::class, ); $elements = []; diff --git a/src/XML/sp/AbstractSpnegoContextTokenType.php b/src/XML/sp/AbstractSpnegoContextTokenType.php index 3af25de3..9363202a 100644 --- a/src/XML/sp/AbstractSpnegoContextTokenType.php +++ b/src/XML/sp/AbstractSpnegoContextTokenType.php @@ -47,7 +47,7 @@ final public function __construct( protected Issuer|IssuerName|null $issuer, ?IncludeToken $includeToken = null, array $elts = [], - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { $this->setIncludeToken($includeToken); $this->setElements($elts); @@ -98,7 +98,7 @@ public static function fromXML(DOMElement $xml): static $xml->localName, $qualifiedName, sprintf('Unexpected name for IssuedTokenType: %s. Expected: %s.', $xml->localName, $qualifiedName), - InvalidDOMElementException::class + InvalidDOMElementException::class, ); $issuer = Issuer::getChildrenOfClass($xml); diff --git a/src/XML/sp/AbstractTokenAssertionType.php b/src/XML/sp/AbstractTokenAssertionType.php index ab2db718..e7f3925d 100644 --- a/src/XML/sp/AbstractTokenAssertionType.php +++ b/src/XML/sp/AbstractTokenAssertionType.php @@ -44,7 +44,7 @@ abstract class AbstractTokenAssertionType extends AbstractSpElement final public function __construct( ?IncludeToken $includeToken = null, array $elts = [], - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { $this->setIncludeToken($includeToken); $this->setElements($elts); @@ -83,7 +83,7 @@ public static function fromXML(DOMElement $xml): static $xml->localName, $qualifiedName, sprintf('Unexpected name for TokenAssertionType: %s. Expected: %s.', $xml->localName, $qualifiedName), - InvalidDOMElementException::class + InvalidDOMElementException::class, ); try { diff --git a/src/XML/sp/XPath.php b/src/XML/sp/XPath.php index e11de052..b63be3fb 100644 --- a/src/XML/sp/XPath.php +++ b/src/XML/sp/XPath.php @@ -26,7 +26,7 @@ final class XPath extends AbstractSpElement * @param string $content */ public function __construct( - string $content + string $content, ) { $this->setContent($content); } diff --git a/src/XML/wsa/AbstractEndpointReferenceType.php b/src/XML/wsa/AbstractEndpointReferenceType.php index 8f6d22e7..ee2025ae 100644 --- a/src/XML/wsa/AbstractEndpointReferenceType.php +++ b/src/XML/wsa/AbstractEndpointReferenceType.php @@ -55,7 +55,7 @@ final public function __construct( protected array $referenceParameters = [], protected array $metadata = [], array $children = [], - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { Assert::allIsInstanceOf($referenceParameters, ReferenceParameters::class); Assert::allIsInstanceOf($metadata, Metadata::class); @@ -118,7 +118,7 @@ public static function fromXML(DOMElement $xml): static $xml->localName, $qualifiedName, sprintf('Unexpected name for endpoint reference: %s. Expected: %s.', $xml->localName, $qualifiedName), - InvalidDOMElementException::class + InvalidDOMElementException::class, ); $address = Address::getChildrenOfClass($xml); diff --git a/src/XML/wsa/AbstractProblemActionType.php b/src/XML/wsa/AbstractProblemActionType.php index 3482ccb3..6bc5a587 100644 --- a/src/XML/wsa/AbstractProblemActionType.php +++ b/src/XML/wsa/AbstractProblemActionType.php @@ -35,7 +35,7 @@ abstract class AbstractProblemActionType extends AbstractWsaElement final public function __construct( protected ?Action $action = null, protected ?SoapAction $soapAction = null, - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { $this->setAttributesNS($namespacedAttributes); } diff --git a/src/XML/wsa/Metadata.php b/src/XML/wsa/Metadata.php index 3c4eab7d..d8b32df1 100644 --- a/src/XML/wsa/Metadata.php +++ b/src/XML/wsa/Metadata.php @@ -78,7 +78,7 @@ public static function fromXML(DOMElement $xml): static return new static( $children, - self::getAttributesNSFromXML($xml) + self::getAttributesNSFromXML($xml), ); } diff --git a/src/XML/wsa/ReferenceParameters.php b/src/XML/wsa/ReferenceParameters.php index c4e1b7da..61444965 100644 --- a/src/XML/wsa/ReferenceParameters.php +++ b/src/XML/wsa/ReferenceParameters.php @@ -78,7 +78,7 @@ public static function fromXML(DOMElement $xml): static return new static( $children, - self::getAttributesNSFromXML($xml) + self::getAttributesNSFromXML($xml), ); } diff --git a/src/XML/wsa/RelatesTo.php b/src/XML/wsa/RelatesTo.php index 637b5f8c..9a5ad116 100644 --- a/src/XML/wsa/RelatesTo.php +++ b/src/XML/wsa/RelatesTo.php @@ -34,7 +34,7 @@ final class RelatesTo extends AbstractWsaElement */ public function __construct( protected ?string $RelationshipType = 'http://www.w3.org/2005/08/addressing/reply', - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { Assert::nullOrValidURI($RelationshipType, SchemaViolationException::class); diff --git a/src/XML/wsp/AbstractOperatorContentType.php b/src/XML/wsp/AbstractOperatorContentType.php index 53341067..e27571ba 100644 --- a/src/XML/wsp/AbstractOperatorContentType.php +++ b/src/XML/wsp/AbstractOperatorContentType.php @@ -39,7 +39,7 @@ abstract class AbstractOperatorContentType extends AbstractWspElement */ public function __construct( protected array $operatorContent = [], - array $children = [] + array $children = [], ) { Assert::maxCount($operatorContent, C::UNBOUNDED_LIMIT); Assert::maxCount($children, C::UNBOUNDED_LIMIT); diff --git a/src/XML/wsp/AppliesTo.php b/src/XML/wsp/AppliesTo.php index aa92b444..bbe75dab 100644 --- a/src/XML/wsp/AppliesTo.php +++ b/src/XML/wsp/AppliesTo.php @@ -78,7 +78,7 @@ public static function fromXML(DOMElement $xml): static return new static( $children, - self::getAttributesNSFromXML($xml) + self::getAttributesNSFromXML($xml), ); } diff --git a/src/XML/wsp/Policy.php b/src/XML/wsp/Policy.php index 79e2fd91..e0bb8959 100644 --- a/src/XML/wsp/Policy.php +++ b/src/XML/wsp/Policy.php @@ -43,7 +43,7 @@ public function __construct( protected ?string $Id = null, array $operatorContent = [], array $children = [], - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { Assert::nullOrValidURI($Name, SchemaViolationException::class); Assert::nullOrValidNCName($Id, SchemaViolationException::class); diff --git a/src/XML/wsp/PolicyAttachment.php b/src/XML/wsp/PolicyAttachment.php index acb80602..e016f40e 100644 --- a/src/XML/wsp/PolicyAttachment.php +++ b/src/XML/wsp/PolicyAttachment.php @@ -50,7 +50,7 @@ public function __construct( protected AppliesTo $appliesTo, protected array $policies, array $children = [], - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { $this->setElements($children); $this->setAttributesNS($namespacedAttributes); @@ -119,7 +119,7 @@ public static function fromXML(DOMElement $xml): static $appliesTo[0], $policies, $children, - self::getAttributesNSFromXML($xml) + self::getAttributesNSFromXML($xml), ); } diff --git a/src/XML/wsp/PolicyReference.php b/src/XML/wsp/PolicyReference.php index bafd2696..8d812a06 100644 --- a/src/XML/wsp/PolicyReference.php +++ b/src/XML/wsp/PolicyReference.php @@ -38,7 +38,7 @@ public function __construct( protected string $URI, protected ?string $Digest = null, protected ?string $DigestAlgorithm = null, - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { Assert::validURI($URI, SchemaViolationException::class); Assert::nullOrStringPlausibleBase64($Digest, SchemaViolationException::class); diff --git a/src/XML/wsse/AbstractAttributedString.php b/src/XML/wsse/AbstractAttributedString.php index 7f5c34d1..a5e3bc59 100644 --- a/src/XML/wsse/AbstractAttributedString.php +++ b/src/XML/wsse/AbstractAttributedString.php @@ -41,7 +41,7 @@ abstract class AbstractAttributedString extends AbstractWsseElement public function __construct( string $content, protected ?string $Id = null, - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { Assert::nullOrValidNCName($Id); diff --git a/src/XML/wsse/AbstractBinarySecurityTokenType.php b/src/XML/wsse/AbstractBinarySecurityTokenType.php index bbab2b2e..b9df8547 100644 --- a/src/XML/wsse/AbstractBinarySecurityTokenType.php +++ b/src/XML/wsse/AbstractBinarySecurityTokenType.php @@ -36,7 +36,7 @@ final public function __construct( protected ?string $valueType = null, ?string $Id = null, ?string $EncodingType = null, - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { Assert::nullOrValidURI($valueType, SchemaViolationException::class); diff --git a/src/XML/wsse/AbstractEmbeddedType.php b/src/XML/wsse/AbstractEmbeddedType.php index 6a44c15e..fc8ae7e3 100644 --- a/src/XML/wsse/AbstractEmbeddedType.php +++ b/src/XML/wsse/AbstractEmbeddedType.php @@ -40,7 +40,7 @@ abstract class AbstractEmbeddedType extends AbstractWsseElement final public function __construct( protected ?string $valueType = null, array $children = [], - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { Assert::nullOrValidURI($valueType, SchemaViolationException::class); diff --git a/src/XML/wsse/AbstractEncodedString.php b/src/XML/wsse/AbstractEncodedString.php index d77aa52c..61e36991 100644 --- a/src/XML/wsse/AbstractEncodedString.php +++ b/src/XML/wsse/AbstractEncodedString.php @@ -30,7 +30,7 @@ public function __construct( string $content, ?string $Id = null, protected ?string $EncodingType = null, - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { Assert::nullOrValidURI($EncodingType); diff --git a/src/XML/wsse/AbstractKeyIdentifierType.php b/src/XML/wsse/AbstractKeyIdentifierType.php index bf04224f..ec478d46 100644 --- a/src/XML/wsse/AbstractKeyIdentifierType.php +++ b/src/XML/wsse/AbstractKeyIdentifierType.php @@ -31,7 +31,7 @@ final public function __construct( protected ?string $valueType = null, ?string $Id = null, ?string $EncodingType = null, - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { Assert::nullOrValidURI($valueType, SchemaViolationException::class); diff --git a/src/XML/wsse/AbstractPasswordString.php b/src/XML/wsse/AbstractPasswordString.php index 48d1a109..a6adaaa6 100644 --- a/src/XML/wsse/AbstractPasswordString.php +++ b/src/XML/wsse/AbstractPasswordString.php @@ -28,7 +28,7 @@ final public function __construct( string $content, ?string $Id = null, protected ?string $Type = null, - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { Assert::nullOrValidURI($Type); diff --git a/src/XML/wsse/AbstractReferenceType.php b/src/XML/wsse/AbstractReferenceType.php index 0d641f0c..c5e3de48 100644 --- a/src/XML/wsse/AbstractReferenceType.php +++ b/src/XML/wsse/AbstractReferenceType.php @@ -34,7 +34,7 @@ abstract class AbstractReferenceType extends AbstractWsseElement final public function __construct( protected ?string $URI = null, protected ?string $valueType = null, - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { Assert::nullOrValidURI($URI, SchemaViolationException::class); Assert::nullOrValidURI($valueType, SchemaViolationException::class); diff --git a/src/XML/wsse/AbstractSecurityHeaderType.php b/src/XML/wsse/AbstractSecurityHeaderType.php index 930a6b3b..707f39a4 100644 --- a/src/XML/wsse/AbstractSecurityHeaderType.php +++ b/src/XML/wsse/AbstractSecurityHeaderType.php @@ -37,7 +37,7 @@ abstract class AbstractSecurityHeaderType extends AbstractWsseElement */ final public function __construct( array $children = [], - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { $this->setElements($children); $this->setAttributesNS($namespacedAttributes); diff --git a/src/XML/wsse/AbstractSecurityTokenReferenceType.php b/src/XML/wsse/AbstractSecurityTokenReferenceType.php index 0d61b7a5..81699f51 100644 --- a/src/XML/wsse/AbstractSecurityTokenReferenceType.php +++ b/src/XML/wsse/AbstractSecurityTokenReferenceType.php @@ -46,7 +46,7 @@ final public function __construct( protected ?string $Id = null, ?string $Usage = null, array $children = [], - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { Assert::nullOrValidNCName($Id); diff --git a/src/XML/wsse/AbstractTransformationParametersType.php b/src/XML/wsse/AbstractTransformationParametersType.php index 31d305b9..b75861c1 100644 --- a/src/XML/wsse/AbstractTransformationParametersType.php +++ b/src/XML/wsse/AbstractTransformationParametersType.php @@ -37,7 +37,7 @@ abstract class AbstractTransformationParametersType extends AbstractWsseElement */ final public function __construct( array $children = [], - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { $this->setElements($children); $this->setAttributesNS($namespacedAttributes); diff --git a/src/XML/wsse/AbstractUsernameTokenType.php b/src/XML/wsse/AbstractUsernameTokenType.php index 110e19d7..ea1dfeac 100644 --- a/src/XML/wsse/AbstractUsernameTokenType.php +++ b/src/XML/wsse/AbstractUsernameTokenType.php @@ -48,7 +48,7 @@ final public function __construct( protected Username $username, protected ?string $Id = null, array $children = [], - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { Assert::nullOrValidNCName($Id); diff --git a/src/XML/wst/AbstractAuthenticatorType.php b/src/XML/wst/AbstractAuthenticatorType.php index 2d269545..f0def61e 100644 --- a/src/XML/wst/AbstractAuthenticatorType.php +++ b/src/XML/wst/AbstractAuthenticatorType.php @@ -34,7 +34,7 @@ abstract class AbstractAuthenticatorType extends AbstractWstElement */ final public function __construct( protected ?CombinedHash $combinedHash = null, - array $children = [] + array $children = [], ) { $this->setElements($children); } diff --git a/src/XML/wst/AbstractBinaryExchangeType.php b/src/XML/wst/AbstractBinaryExchangeType.php index 53f30f34..22e14a9e 100644 --- a/src/XML/wst/AbstractBinaryExchangeType.php +++ b/src/XML/wst/AbstractBinaryExchangeType.php @@ -36,7 +36,7 @@ final public function __construct( string $content, protected string $valueType, protected string $encodingType, - array $namespacedAttributes + array $namespacedAttributes, ) { Assert::validURI($valueType, SchemaViolationException::class); Assert::validURI($encodingType, SchemaViolationException::class); diff --git a/src/XML/wst/AbstractBinarySecretType.php b/src/XML/wst/AbstractBinarySecretType.php index 1c142f8b..9752b045 100644 --- a/src/XML/wst/AbstractBinarySecretType.php +++ b/src/XML/wst/AbstractBinarySecretType.php @@ -41,7 +41,7 @@ abstract class AbstractBinarySecretType extends AbstractWstElement final public function __construct( string $content, ?array $Type = null, - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { if ($Type !== null) { $Type = array_map( diff --git a/src/XML/wst/AbstractCancelTargetType.php b/src/XML/wst/AbstractCancelTargetType.php index 32bdf943..e36bde47 100644 --- a/src/XML/wst/AbstractCancelTargetType.php +++ b/src/XML/wst/AbstractCancelTargetType.php @@ -35,7 +35,7 @@ abstract class AbstractCancelTargetType extends AbstractWstElement * @param \SimpleSAML\XML\SerializableElementInterface $child */ final public function __construct( - SerializableElementInterface $child + SerializableElementInterface $child, ) { $this->setElements([$child]); } diff --git a/src/XML/wst/AbstractClaimsType.php b/src/XML/wst/AbstractClaimsType.php index fa83e497..ef386a21 100644 --- a/src/XML/wst/AbstractClaimsType.php +++ b/src/XML/wst/AbstractClaimsType.php @@ -40,7 +40,7 @@ abstract class AbstractClaimsType extends AbstractWstElement final public function __construct( protected ?string $dialect = null, array $children = [], - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { Assert::nullOrValidURI($dialect, SchemaViolationException::class); diff --git a/src/XML/wst/AbstractDelegateToType.php b/src/XML/wst/AbstractDelegateToType.php index b32cdf92..cc6c7025 100644 --- a/src/XML/wst/AbstractDelegateToType.php +++ b/src/XML/wst/AbstractDelegateToType.php @@ -33,7 +33,7 @@ abstract class AbstractDelegateToType extends AbstractWstElement * @param \SimpleSAML\XML\SerializableElementInterface $child */ final public function __construct( - SerializableElementInterface $child + SerializableElementInterface $child, ) { $this->setElements([$child]); } diff --git a/src/XML/wst/AbstractEncryptionType.php b/src/XML/wst/AbstractEncryptionType.php index d3579563..f98e44d4 100644 --- a/src/XML/wst/AbstractEncryptionType.php +++ b/src/XML/wst/AbstractEncryptionType.php @@ -33,7 +33,7 @@ abstract class AbstractEncryptionType extends AbstractWstElement * @param \SimpleSAML\XML\SerializableElementInterface $child */ final public function __construct( - SerializableElementInterface $child + SerializableElementInterface $child, ) { $this->setElements([$child]); } diff --git a/src/XML/wst/AbstractEntropyType.php b/src/XML/wst/AbstractEntropyType.php index 5e9b1bc2..63527f62 100644 --- a/src/XML/wst/AbstractEntropyType.php +++ b/src/XML/wst/AbstractEntropyType.php @@ -37,7 +37,7 @@ abstract class AbstractEntropyType extends AbstractWstElement */ final public function __construct( array $children = [], - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { $this->setElements($children); $this->setAttributesNS($namespacedAttributes); diff --git a/src/XML/wst/AbstractKeyExchangeTokenType.php b/src/XML/wst/AbstractKeyExchangeTokenType.php index a847ec2f..5555e773 100644 --- a/src/XML/wst/AbstractKeyExchangeTokenType.php +++ b/src/XML/wst/AbstractKeyExchangeTokenType.php @@ -30,7 +30,7 @@ abstract class AbstractKeyExchangeTokenType extends AbstractWstElement * @param array<\SimpleSAML\XML\SerializableElementInterface> $children */ final public function __construct( - array $children = [] + array $children = [], ) { $this->setElements($children); } diff --git a/src/XML/wst/AbstractLifetimeType.php b/src/XML/wst/AbstractLifetimeType.php index bf6f02bc..33a47fb5 100644 --- a/src/XML/wst/AbstractLifetimeType.php +++ b/src/XML/wst/AbstractLifetimeType.php @@ -26,7 +26,7 @@ abstract class AbstractLifetimeType extends AbstractWstElement */ final public function __construct( protected ?Created $created = null, - protected ?Expires $expires = null + protected ?Expires $expires = null, ) { } diff --git a/src/XML/wst/AbstractOnBehalfOfType.php b/src/XML/wst/AbstractOnBehalfOfType.php index c0ee4729..cc4c80de 100644 --- a/src/XML/wst/AbstractOnBehalfOfType.php +++ b/src/XML/wst/AbstractOnBehalfOfType.php @@ -33,7 +33,7 @@ abstract class AbstractOnBehalfOfType extends AbstractWstElement * @param \SimpleSAML\XML\SerializableElementInterface $child */ final public function __construct( - SerializableElementInterface $child + SerializableElementInterface $child, ) { $this->setElements([$child]); } diff --git a/src/XML/wst/AbstractParticipantType.php b/src/XML/wst/AbstractParticipantType.php index 86f108fe..3837711b 100644 --- a/src/XML/wst/AbstractParticipantType.php +++ b/src/XML/wst/AbstractParticipantType.php @@ -33,7 +33,7 @@ abstract class AbstractParticipantType extends AbstractWstElement * @param \SimpleSAML\XML\SerializableElementInterface $child */ final public function __construct( - SerializableElementInterface $child + SerializableElementInterface $child, ) { $this->setElements([$child]); } diff --git a/src/XML/wst/AbstractParticipantsType.php b/src/XML/wst/AbstractParticipantsType.php index 407f2559..d3fdde7e 100644 --- a/src/XML/wst/AbstractParticipantsType.php +++ b/src/XML/wst/AbstractParticipantsType.php @@ -35,7 +35,7 @@ abstract class AbstractParticipantsType extends AbstractWstElement final public function __construct( protected ?Primary $primary = null, protected array $participant = [], - array $children = [] + array $children = [], ) { $this->setElements($children); } diff --git a/src/XML/wst/AbstractProofEncryptionType.php b/src/XML/wst/AbstractProofEncryptionType.php index b9362af8..126d05f9 100644 --- a/src/XML/wst/AbstractProofEncryptionType.php +++ b/src/XML/wst/AbstractProofEncryptionType.php @@ -33,7 +33,7 @@ abstract class AbstractProofEncryptionType extends AbstractWstElement * @param \SimpleSAML\XML\SerializableElementInterface $child */ final public function __construct( - SerializableElementInterface $child + SerializableElementInterface $child, ) { $this->setElements([$child]); } diff --git a/src/XML/wst/AbstractRenewTargetType.php b/src/XML/wst/AbstractRenewTargetType.php index 650354c3..d39f605f 100644 --- a/src/XML/wst/AbstractRenewTargetType.php +++ b/src/XML/wst/AbstractRenewTargetType.php @@ -35,7 +35,7 @@ abstract class AbstractRenewTargetType extends AbstractWstElement * @param \SimpleSAML\XML\SerializableElementInterface $child */ final public function __construct( - SerializableElementInterface $child + SerializableElementInterface $child, ) { $this->setElements([$child]); } diff --git a/src/XML/wst/AbstractRenewingType.php b/src/XML/wst/AbstractRenewingType.php index 525d0e68..dbcec291 100644 --- a/src/XML/wst/AbstractRenewingType.php +++ b/src/XML/wst/AbstractRenewingType.php @@ -23,7 +23,7 @@ abstract class AbstractRenewingType extends AbstractWstElement */ final public function __construct( protected ?bool $allow = null, - protected ?bool $ok = null + protected ?bool $ok = null, ) { } diff --git a/src/XML/wst/AbstractRequestSecurityTokenCollectionType.php b/src/XML/wst/AbstractRequestSecurityTokenCollectionType.php index bc87e9a6..10fcafca 100644 --- a/src/XML/wst/AbstractRequestSecurityTokenCollectionType.php +++ b/src/XML/wst/AbstractRequestSecurityTokenCollectionType.php @@ -21,7 +21,7 @@ abstract class AbstractRequestSecurityTokenCollectionType extends AbstractWstEle * @param array<\SimpleSAML\WSSecurity\XML\wst\RequestSecurityToken> $requestSecurityToken */ final public function __construct( - protected array $requestSecurityToken + protected array $requestSecurityToken, ) { Assert::minCount($requestSecurityToken, 2, MissingElementException::class); Assert::allIsInstanceOf( diff --git a/src/XML/wst/AbstractRequestSecurityTokenResponseCollectionType.php b/src/XML/wst/AbstractRequestSecurityTokenResponseCollectionType.php index f72f36e5..0ceb5833 100644 --- a/src/XML/wst/AbstractRequestSecurityTokenResponseCollectionType.php +++ b/src/XML/wst/AbstractRequestSecurityTokenResponseCollectionType.php @@ -31,7 +31,7 @@ abstract class AbstractRequestSecurityTokenResponseCollectionType extends Abstra */ final public function __construct( protected array $requestSecurityTokenResponse, - array $namespacedAttributes + array $namespacedAttributes, ) { Assert::minCount($requestSecurityTokenResponse, 1, MissingElementException::class); Assert::allIsInstanceOf( diff --git a/src/XML/wst/AbstractRequestSecurityTokenResponseType.php b/src/XML/wst/AbstractRequestSecurityTokenResponseType.php index ef7a7b9b..23935f45 100644 --- a/src/XML/wst/AbstractRequestSecurityTokenResponseType.php +++ b/src/XML/wst/AbstractRequestSecurityTokenResponseType.php @@ -44,7 +44,7 @@ abstract class AbstractRequestSecurityTokenResponseType extends AbstractWstEleme final public function __construct( protected ?string $context = null, array $children = [], - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { Assert::nullOrValidURI($context, SchemaViolationException::class); diff --git a/src/XML/wst/AbstractRequestSecurityTokenType.php b/src/XML/wst/AbstractRequestSecurityTokenType.php index 652e72eb..244afacd 100644 --- a/src/XML/wst/AbstractRequestSecurityTokenType.php +++ b/src/XML/wst/AbstractRequestSecurityTokenType.php @@ -47,7 +47,7 @@ abstract class AbstractRequestSecurityTokenType extends AbstractWstElement final public function __construct( protected ?string $context = null, array $children = [], - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { Assert::nullOrValidURI($context, SchemaViolationException::class); diff --git a/src/XML/wst/AbstractRequestedProofTokenType.php b/src/XML/wst/AbstractRequestedProofTokenType.php index f818505e..0adca290 100644 --- a/src/XML/wst/AbstractRequestedProofTokenType.php +++ b/src/XML/wst/AbstractRequestedProofTokenType.php @@ -33,7 +33,7 @@ abstract class AbstractRequestedProofTokenType extends AbstractWstElement * @param \SimpleSAML\XML\SerializableElementInterface $child */ final public function __construct( - SerializableElementInterface $child + SerializableElementInterface $child, ) { $this->setElements([$child]); } diff --git a/src/XML/wst/AbstractRequestedReferenceType.php b/src/XML/wst/AbstractRequestedReferenceType.php index 28e38f24..fea7c0b0 100644 --- a/src/XML/wst/AbstractRequestedReferenceType.php +++ b/src/XML/wst/AbstractRequestedReferenceType.php @@ -26,7 +26,7 @@ abstract class AbstractRequestedReferenceType extends AbstractWstElement * @param \SimpleSAML\WSSecurity\XML\wsse\SecurityTokenReference $securityTokenReference */ final public function __construct( - protected SecurityTokenReference $securityTokenReference + protected SecurityTokenReference $securityTokenReference, ) { } diff --git a/src/XML/wst/AbstractRequestedSecurityTokenType.php b/src/XML/wst/AbstractRequestedSecurityTokenType.php index 53bece0d..002e5c38 100644 --- a/src/XML/wst/AbstractRequestedSecurityTokenType.php +++ b/src/XML/wst/AbstractRequestedSecurityTokenType.php @@ -35,7 +35,7 @@ abstract class AbstractRequestedSecurityTokenType extends AbstractWstElement * @param \SimpleSAML\XML\SerializableElementInterface $child */ final public function __construct( - SerializableElementInterface $child + SerializableElementInterface $child, ) { $this->setElements([$child]); } diff --git a/src/XML/wst/AbstractSignChallengeType.php b/src/XML/wst/AbstractSignChallengeType.php index 70de8eb9..8c4e4a0c 100644 --- a/src/XML/wst/AbstractSignChallengeType.php +++ b/src/XML/wst/AbstractSignChallengeType.php @@ -41,7 +41,7 @@ abstract class AbstractSignChallengeType extends AbstractWstElement final public function __construct( protected ?Challenge $challenge = null, array $children = [], - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { $this->setElements($children); $this->setAttributesNS($namespacedAttributes); diff --git a/src/XML/wst/AbstractStatusType.php b/src/XML/wst/AbstractStatusType.php index 17dfe805..b432eb37 100644 --- a/src/XML/wst/AbstractStatusType.php +++ b/src/XML/wst/AbstractStatusType.php @@ -25,7 +25,7 @@ abstract class AbstractStatusType extends AbstractWstElement */ final public function __construct( protected Code $code, - protected ?Reason $reason = null + protected ?Reason $reason = null, ) { } diff --git a/src/XML/wst/AbstractUseKeyType.php b/src/XML/wst/AbstractUseKeyType.php index 97930e5d..37be278e 100644 --- a/src/XML/wst/AbstractUseKeyType.php +++ b/src/XML/wst/AbstractUseKeyType.php @@ -35,7 +35,7 @@ abstract class AbstractUseKeyType extends AbstractWstElement */ final public function __construct( ?SerializableElementInterface $child = null, - protected ?string $Sig = null + protected ?string $Sig = null, ) { Assert::nullOrValidURI($Sig, SchemaViolationException::class); diff --git a/src/XML/wst/AbstractValidateTargetType.php b/src/XML/wst/AbstractValidateTargetType.php index 78513bc4..1b7455fd 100644 --- a/src/XML/wst/AbstractValidateTargetType.php +++ b/src/XML/wst/AbstractValidateTargetType.php @@ -35,7 +35,7 @@ abstract class AbstractValidateTargetType extends AbstractWstElement * @param \SimpleSAML\XML\SerializableElementInterface $child */ final public function __construct( - SerializableElementInterface $child + SerializableElementInterface $child, ) { $this->setElements([$child]); } diff --git a/src/XML/wsu/AbstractAttributedDateTime.php b/src/XML/wsu/AbstractAttributedDateTime.php index 93c5d978..b97c03f7 100644 --- a/src/XML/wsu/AbstractAttributedDateTime.php +++ b/src/XML/wsu/AbstractAttributedDateTime.php @@ -37,7 +37,7 @@ abstract class AbstractAttributedDateTime extends AbstractWsuElement final public function __construct( protected DateTimeImmutable $dateTime, protected ?string $Id = null, - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { Assert::nullOrValidNCName($Id); $this->setAttributesNS($namespacedAttributes); diff --git a/src/XML/wsu/AbstractAttributedURI.php b/src/XML/wsu/AbstractAttributedURI.php index d3916296..a8588eb9 100644 --- a/src/XML/wsu/AbstractAttributedURI.php +++ b/src/XML/wsu/AbstractAttributedURI.php @@ -36,7 +36,7 @@ abstract class AbstractAttributedURI extends AbstractWsuElement final protected function __construct( string $uri, protected ?string $Id = null, - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { Assert::nullOrValidNCName($Id); diff --git a/src/XML/wsu/AbstractTimestamp.php b/src/XML/wsu/AbstractTimestamp.php index 534482ff..e8b2898c 100644 --- a/src/XML/wsu/AbstractTimestamp.php +++ b/src/XML/wsu/AbstractTimestamp.php @@ -46,7 +46,7 @@ final public function __construct( protected ?Expires $expires = null, protected ?string $Id = null, array $elements = [], - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { Assert::nullOrValidNCName($Id); diff --git a/src/XML/wsx/GetMetadata.php b/src/XML/wsx/GetMetadata.php index 0b8cfaf0..597c9596 100644 --- a/src/XML/wsx/GetMetadata.php +++ b/src/XML/wsx/GetMetadata.php @@ -36,7 +36,7 @@ final class GetMetadata extends AbstractWsxElement final public function __construct( protected ?Dialect $dialect = null, protected ?Identifier $identifier = null, - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { $this->setAttributesNS($namespacedAttributes); } diff --git a/src/XML/wsx/Metadata.php b/src/XML/wsx/Metadata.php index 07a6c171..d53e96ee 100644 --- a/src/XML/wsx/Metadata.php +++ b/src/XML/wsx/Metadata.php @@ -39,7 +39,7 @@ final class Metadata extends AbstractWsxElement final public function __construct( protected array $metadataSection = [], array $children = [], - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { $this->setElements($children); $this->setAttributesNS($namespacedAttributes); diff --git a/src/XML/wsx/MetadataReference.php b/src/XML/wsx/MetadataReference.php index 96b136e3..8f4209d0 100644 --- a/src/XML/wsx/MetadataReference.php +++ b/src/XML/wsx/MetadataReference.php @@ -31,7 +31,7 @@ final class MetadataReference extends AbstractWsxElement * @param \SimpleSAML\XML\SerializableElementInterface[] $children */ final public function __construct( - array $children = [] + array $children = [], ) { Assert::minCount($children, 1, MissingElementException::class); $this->setElements($children); diff --git a/src/XML/wsx/MetadataSection.php b/src/XML/wsx/MetadataSection.php index edab2127..c7d5cbd4 100644 --- a/src/XML/wsx/MetadataSection.php +++ b/src/XML/wsx/MetadataSection.php @@ -43,7 +43,7 @@ final public function __construct( protected SerializableElementInterface|MetadataReference|Location $child, protected string $Dialect, protected ?string $Identifier = null, - array $namespacedAttributes = [] + array $namespacedAttributes = [], ) { Assert::validURI($Dialect); Assert::nullOrValidURI($Identifier);