diff --git a/src/Assert/Assert.php b/src/Assert/Assert.php new file mode 100644 index 00000000..0d8f6b94 --- /dev/null +++ b/src/Assert/Assert.php @@ -0,0 +1,16 @@ +. diff --git a/src/XML/xenc/AbstractEncryptionPropertyType.php b/src/XML/xenc/AbstractEncryptionPropertyType.php index b6a2756b..f482617c 100644 --- a/src/XML/xenc/AbstractEncryptionPropertyType.php +++ b/src/XML/xenc/AbstractEncryptionPropertyType.php @@ -5,7 +5,6 @@ namespace SimpleSAML\XMLSecurity\XML\xenc; use DOMElement; -use SimpleSAML\Assert\Assert; use SimpleSAML\XML\Constants as C; use SimpleSAML\XML\Exception\InvalidDOMElementException; use SimpleSAML\XML\Exception\MissingElementException; @@ -15,6 +14,7 @@ use SimpleSAML\XML\SchemaValidatableElementInterface; use SimpleSAML\XML\SchemaValidatableElementTrait; use SimpleSAML\XML\XsNamespace as NS; +use SimpleSAML\XMLSecurity\Assert\Assert; /** * Class representing . diff --git a/src/XML/xenc11/AbstractConcatKDFParamsType.php b/src/XML/xenc11/AbstractConcatKDFParamsType.php index fd804962..441f9957 100644 --- a/src/XML/xenc11/AbstractConcatKDFParamsType.php +++ b/src/XML/xenc11/AbstractConcatKDFParamsType.php @@ -5,13 +5,13 @@ namespace SimpleSAML\XMLSecurity\XML\xenc11; use DOMElement; -use SimpleSAML\Assert\Assert; use SimpleSAML\XML\Exception\InvalidDOMElementException; use SimpleSAML\XML\Exception\MissingElementException; use SimpleSAML\XML\Exception\SchemaViolationException; use SimpleSAML\XML\Exception\TooManyElementsException; use SimpleSAML\XML\SchemaValidatableElementInterface; use SimpleSAML\XML\SchemaValidatableElementTrait; +use SimpleSAML\XMLSecurity\Assert\Assert; use SimpleSAML\XMLSecurity\XML\ds\DigestMethod; use function array_pop; diff --git a/src/XML/xenc11/AbstractDerivedKeyType.php b/src/XML/xenc11/AbstractDerivedKeyType.php index 5a1cd9ef..3db1febf 100644 --- a/src/XML/xenc11/AbstractDerivedKeyType.php +++ b/src/XML/xenc11/AbstractDerivedKeyType.php @@ -5,12 +5,12 @@ namespace SimpleSAML\XMLSecurity\XML\xenc11; use DOMElement; -use SimpleSAML\Assert\Assert; use SimpleSAML\XML\Exception\InvalidDOMElementException; use SimpleSAML\XML\Exception\SchemaViolationException; use SimpleSAML\XML\Exception\TooManyElementsException; use SimpleSAML\XML\SchemaValidatableElementInterface; use SimpleSAML\XML\SchemaValidatableElementTrait; +use SimpleSAML\XMLSecurity\Assert\Assert; use SimpleSAML\XMLSecurity\XML\xenc\ReferenceList; use function array_pop;