Skip to content

Commit

Permalink
Bump xml-common
Browse files Browse the repository at this point in the history
tvdijen committed Dec 14, 2023
1 parent 03bbdce commit 5a07d07
Showing 6 changed files with 15 additions and 13 deletions.
3 changes: 2 additions & 1 deletion src/XML/ds/DigestMethod.php
Original file line number Diff line number Diff line change
@@ -10,6 +10,7 @@
use SimpleSAML\XML\Exception\InvalidDOMElementException;
use SimpleSAML\XML\Exception\SchemaViolationException;
use SimpleSAML\XML\ExtendableElementTrait;
use SimpleSAML\XML\XsNamespace as NS;
use SimpleSAML\XMLSecurity\Constants as C;
use SimpleSAML\XMLSecurity\Exception\InvalidArgumentException;

@@ -22,7 +23,7 @@ final class DigestMethod extends AbstractDsElement
{
use ExtendableElementTrait;

public const XS_ANY_ELT_NAMESPACE = C::XS_ANY_NS_OTHER;
public const XS_ANY_ELT_NAMESPACE = NS::OTHER;

/**
* Initialize a DigestMethod element.
4 changes: 2 additions & 2 deletions src/XML/ds/DsObject.php
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
use DOMElement;
use SimpleSAML\Assert\Assert;
use SimpleSAML\XML\Chunk;
use SimpleSAML\XML\Constants;
use SimpleSAML\XML\XsNamespace as NS;
use SimpleSAML\XML\Exception\InvalidDOMElementException;
use SimpleSAML\XML\ExtendableElementTrait;
use SimpleSAML\XMLSecurity\Exception\InvalidArgumentException;
@@ -25,7 +25,7 @@ final class DsObject extends AbstractDsElement
public const LOCALNAME = 'Object';

/** @var string */
public const XS_ANY_ELT_NAMESPACE = Constants::XS_ANY_NS_ANY;
public const XS_ANY_ELT_NAMESPACE = NS::ANY;


/**
4 changes: 2 additions & 2 deletions src/XML/ds/KeyValue.php
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@
use SimpleSAML\XML\Exception\TooManyElementsException;
use SimpleSAML\XML\ExtendableElementTrait;
use SimpleSAML\XML\ElementInterface;
use SimpleSAML\XMLSecurity\Constants as C;
use SimpleSAML\XML\XsNamespace as NS;
use SimpleSAML\XMLSecurity\Exception\InvalidArgumentException;

/**
@@ -27,7 +27,7 @@ final class KeyValue extends AbstractDsElement


/** The namespace-attribute for the xs:any element */
public const XS_ANY_ELT_NAMESPACE = C::XS_ANY_NS_OTHER;
public const XS_ANY_ELT_NAMESPACE = NS::OTHER;


/**
4 changes: 2 additions & 2 deletions src/XML/ds/SignatureProperty.php
Original file line number Diff line number Diff line change
@@ -7,12 +7,12 @@
use DOMElement;
use SimpleSAML\Assert\Assert;
use SimpleSAML\XML\Chunk;
use SimpleSAML\XML\Constants as C;
use SimpleSAML\XML\Exception\InvalidDOMElementException;
use SimpleSAML\XML\Exception\MissingElementException;
use SimpleSAML\XML\Exception\SchemaViolationException;
use SimpleSAML\XML\ExtendableElementTrait;
use SimpleSAML\XML\SerializableElementInterface;
use SimpleSAML\XML\XsNamespace as NS;

/**
* Class representing a ds:SignatureProperty element.
@@ -25,7 +25,7 @@ final class SignatureProperty extends AbstractDsElement


/** The namespace-attribute for the xs:any element */
public const XS_ANY_ELT_NAMESPACE = C::XS_ANY_NS_OTHER;
public const XS_ANY_ELT_NAMESPACE = NS::OTHER;


/**
5 changes: 3 additions & 2 deletions src/XML/xenc/AbstractEncryptionMethod.php
Original file line number Diff line number Diff line change
@@ -6,11 +6,12 @@

use DOMElement;
use SimpleSAML\Assert\Assert;
use SimpleSAML\XML\Chunk;
use SimpleSAML\XML\Exception\InvalidDOMElementException;
use SimpleSAML\XML\Exception\SchemaViolationException;
use SimpleSAML\XML\Exception\TooManyElementsException;
use SimpleSAML\XML\Chunk;
use SimpleSAML\XML\ExtendableElementTrait;
use SimpleSAML\XML\XsNamespace as NS;
use SimpleSAML\XMLSecurity\Constants as C;
use SimpleSAML\XMLSecurity\Exception\InvalidArgumentException;

@@ -27,7 +28,7 @@ abstract class AbstractEncryptionMethod extends AbstractXencElement
use ExtendableElementTrait;

/** The namespace-attribute for the xs:any element */
public const XS_ANY_ELT_NAMESPACE = C::XS_ANY_NS_OTHER;
public const XS_ANY_ELT_NAMESPACE = NS::OTHER;


/**
8 changes: 4 additions & 4 deletions src/XML/xenc/AbstractReference.php
Original file line number Diff line number Diff line change
@@ -6,12 +6,12 @@

use DOMElement;
use SimpleSAML\Assert\Assert;
use SimpleSAML\XML\Exception\InvalidDOMElementException;
use SimpleSAML\XML\Exception\SchemaViolationException;
use SimpleSAML\XML\Chunk;
use SimpleSAML\XML\Constants as C;
use SimpleSAML\XML\ElementInterface;
use SimpleSAML\XML\Exception\InvalidDOMElementException;
use SimpleSAML\XML\Exception\SchemaViolationException;
use SimpleSAML\XML\ExtendableElementTrait;
use SimpleSAML\XML\XsNamespace as NS;
use SimpleSAML\XMLSecurity\XML\xenc\Transforms;

/**
@@ -24,7 +24,7 @@ abstract class AbstractReference extends AbstractXencElement
use ExtendableElementTrait;

/** The namespace-attribute for the xs:any element */
public const XS_ANY_ELT_NAMESPACE = C::XS_ANY_NS_OTHER;
public const XS_ANY_ELT_NAMESPACE = NS::OTHER;


/**

0 comments on commit 5a07d07

Please sign in to comment.