Skip to content

Commit 8b5033f

Browse files
committed
Reflect changes in xml-common 2.0
1 parent 5033c2f commit 8b5033f

File tree

173 files changed

+337
-326
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

173 files changed

+337
-326
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"ext-spl": "*",
4545

4646
"simplesamlphp/assert": "~1.8.1",
47-
"simplesamlphp/xml-common": "~2.0.4"
47+
"simplesamlphp/xml-common": "~2.0.0"
4848
},
4949
"require-dev": {
5050
"simplesamlphp/simplesamlphp-test-framework": "~1.9.2"

src/TestUtils/SignedElementTestTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
namespace SimpleSAML\XMLSecurity\TestUtils;
66

77
use DOMDocument;
8-
use SimpleSAML\XMLSchema\Type\Builtin\Base64BinaryValue;
8+
use SimpleSAML\XMLSchema\Type\Base64BinaryValue;
99
use SimpleSAML\XMLSecurity\Alg\Signature\SignatureAlgorithmFactory;
1010
use SimpleSAML\XMLSecurity\Constants as C;
1111
use SimpleSAML\XMLSecurity\Exception\InvalidArgumentException;

src/Type/CryptoBinaryValue.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
namespace SimpleSAML\XMLSecurity\Type;
66

77
use SimpleSAML\XMLSchema\Exception\SchemaViolationException;
8-
use SimpleSAML\XMLSchema\Type\Builtin\Base64BinaryValue;
8+
use SimpleSAML\XMLSchema\Type\Base64BinaryValue;
99
use SimpleSAML\XMLSecurity\Assert\Assert;
1010

1111
/**

src/Type/DigestValue.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
namespace SimpleSAML\XMLSecurity\Type;
66

77
use SimpleSAML\XMLSchema\Exception\SchemaViolationException;
8-
use SimpleSAML\XMLSchema\Type\Builtin\Base64BinaryValue;
8+
use SimpleSAML\XMLSchema\Type\Base64BinaryValue;
99
use SimpleSAML\XMLSecurity\Assert\Assert;
1010

1111
/**

src/Type/HMACOutputLengthValue.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
namespace SimpleSAML\XMLSecurity\Type;
66

77
use SimpleSAML\XMLSchema\Exception\SchemaViolationException;
8-
use SimpleSAML\XMLSchema\Type\Builtin\IntegerValue;
8+
use SimpleSAML\XMLSchema\Type\IntegerValue;
99
use SimpleSAML\XMLSecurity\Assert\Assert;
1010

1111
/**

src/Type/KeySizeValue.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
namespace SimpleSAML\XMLSecurity\Type;
66

77
use SimpleSAML\XMLSchema\Exception\SchemaViolationException;
8-
use SimpleSAML\XMLSchema\Type\Builtin\IntegerValue;
8+
use SimpleSAML\XMLSchema\Type\IntegerValue;
99
use SimpleSAML\XMLSecurity\Assert\Assert;
1010

1111
/**

src/Utils/XML.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
use DOMElement;
88
use SimpleSAML\XMLSecurity\Constants as C;
99
use SimpleSAML\XMLSecurity\XML\ds\Transforms;
10+
use SimpleSAML\XPath\Constants as XPATH_C;
1011

1112
use function array_map;
1213
use function is_null;
@@ -101,7 +102,7 @@ public static function processTransforms(
101102
}
102103
}
103104
break;
104-
case C::XPATH10_URI:
105+
case XPATH_C::XPATH10_URI:
105106
$xpath = $transform->getXPath();
106107
if ($xpath !== null) {
107108
$arXPath = [];

src/Utils/XPath.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
use DOMElement;
99
use DOMNode;
1010
use DOMXPath;
11-
use SimpleSAML\XML\Utils\XPath as XPathUtils;
1211
use SimpleSAML\XMLSecurity\Constants as C;
1312
use SimpleSAML\XMLSecurity\Exception\RuntimeException;
13+
use SimpleSAML\XPath\XPath as XPathUtils;
1414

1515
/**
1616
* Compilation of utilities for XPath.

src/XML/EncryptableElementTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace SimpleSAML\XMLSecurity\XML;
66

7-
use SimpleSAML\XMLSchema\Type\Builtin\{AnyURIValue, Base64BinaryValue};
7+
use SimpleSAML\XMLSchema\Type\{AnyURIValue, Base64BinaryValue};
88
use SimpleSAML\XMLSecurity\Alg\Encryption\{EncryptionAlgorithmFactory, EncryptionAlgorithmInterface};
99
use SimpleSAML\XMLSecurity\Backend\EncryptionBackend;
1010
use SimpleSAML\XMLSecurity\Constants as C;

src/XML/SignableElementInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace SimpleSAML\XMLSecurity\XML;
66

7-
use SimpleSAML\XMLSchema\Type\Builtin\IDValue;
7+
use SimpleSAML\XMLSchema\Type\IDValue;
88
use SimpleSAML\XMLSecurity\Alg\Signature\SignatureAlgorithmInterface;
99
use SimpleSAML\XMLSecurity\XML\ds\KeyInfo;
1010

0 commit comments

Comments
 (0)