Skip to content

Commit f915d31

Browse files
committed
Bump xml-common and xml-security
1 parent 92bc12e commit f915d31

92 files changed

Lines changed: 273 additions & 249 deletions

File tree

Some content is hidden

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

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717

1818
"psr/clock": "~1.0.0",
1919
"psr/log": "~2.3.1 | ~3.0.0",
20-
"simplesamlphp/assert": "~1.8.1",
21-
"simplesamlphp/xml-common": "dev-master",
22-
"simplesamlphp/xml-security": "dev-feature/xsd-types"
20+
"simplesamlphp/assert": "~1.8.2",
21+
"simplesamlphp/xml-common": "~2.0.1",
22+
"simplesamlphp/xml-security": "~2.0.0"
2323
},
2424
"require-dev": {
2525
"beste/clock": "~3.0.0",
26-
"simplesamlphp/simplesamlphp-test-framework": "~1.9.2"
26+
"simplesamlphp/simplesamlphp-test-framework": "~1.9.3"
2727
},
2828
"autoload": {
2929
"psr-4": {

src/SAML11/Assert/SAMLStringTrait.php

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

77
use SimpleSAML\Assert\AssertionFailedException;
88
use SimpleSAML\SAML11\Exception\ProtocolViolationException;
9-
use SimpleSAML\XML\Exception\SchemaViolationException;
9+
use SimpleSAML\XMLSchema\Exception\SchemaViolationException;
1010

1111
/**
1212
* @package simplesamlphp/saml11

src/SAML11/Compat/AbstractContainer.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
use SimpleSAML\SAML11\Assert\Assert;
1010
use SimpleSAML\SAML11\XML\ExtensionPointInterface;
1111
use SimpleSAML\XML\{AbstractElement, ElementInterface};
12-
use SimpleSAML\XML\Type\QNameValue;
12+
use SimpleSAML\XMLSchema\Type\QNameValue;
1313
use SimpleSAML\XMLSecurity\Alg\Encryption\EncryptionAlgorithmFactory;
1414
use SimpleSAML\XMLSecurity\Alg\KeyTransport\KeyTransportAlgorithmFactory;
1515
use SimpleSAML\XMLSecurity\Alg\Signature\SignatureAlgorithmFactory;
@@ -79,7 +79,7 @@ public function registerExtensionHandler(string $class): void
7979
* Such classes must have been registered previously by calling registerExtensionHandler(), and they must
8080
* extend \SimpleSAML\XML\AbstractElement.
8181
*
82-
* @param \SimpleSAML\XML\Type\QNameValue|null $qName The qualified name of the element.
82+
* @param \SimpleSAML\XMLSchema\Type\QNameValue|null $qName The qualified name of the element.
8383
*
8484
* @return string|null The fully-qualified name of a class extending \SimpleSAML\XML\AbstractElement and
8585
* implementing support for the given element, or null if no such class has been registered before.
@@ -103,7 +103,7 @@ public function getElementHandler(QNameValue $qName): ?string
103103
* Such classes must have been registered previously by calling registerExtensionHandler(), and they must
104104
* implement \SimpleSAML\SAML11\XML\saml\ExtensionPointInterface.
105105
*
106-
* @param \SimpleSAML\XML\Type\QNameValue $qName The qualified name of the extension.
106+
* @param \SimpleSAML\XMLSchema\Type\QNameValue $qName The qualified name of the extension.
107107
* @return string|null The fully-qualified name of a class implementing
108108
* \SimpleSAML\SAML11\XML\saml\ExtensionPointInterface or null if no such class has been registered before.
109109
* @psalm-return class-string|null

src/SAML11/Type/DecisionTypeValue.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
use SimpleSAML\Assert\Assert;
88
use SimpleSAML\SAML11\XML\saml\DecisionTypeEnum;
9-
use SimpleSAML\XML\Exception\SchemaViolationException;
10-
use SimpleSAML\XML\Type\StringValue;
9+
use SimpleSAML\XMLSchema\Exception\SchemaViolationException;
10+
use SimpleSAML\XMLSchema\Type\StringValue;
1111

1212
use function array_column;
1313

src/SAML11/Type/SAMLAnyURIValue.php

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

77
use SimpleSAML\SAML11\Assert\Assert;
8-
use SimpleSAML\XML\Type\AnyURIValue;
8+
use SimpleSAML\XMLSchema\Type\AnyURIValue;
99

1010
/**
1111
* @package simplesaml/saml11

src/SAML11/Type/SAMLDateTimeValue.php

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

77
use SimpleSAML\SAML11\Assert\Assert;
8-
use SimpleSAML\XML\Type\DateTimeValue;
8+
use SimpleSAML\XMLSchema\Type\DateTimeValue;
99

1010
/**
1111
* @package simplesaml/saml11

src/SAML11/Type/SAMLStringValue.php

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

77
use SimpleSAML\SAML11\Assert\Assert;
8-
use SimpleSAML\XML\Type\StringValue;
8+
use SimpleSAML\XMLSchema\Type\StringValue;
99

1010
/**
1111
* @package simplesaml/saml11

src/SAML11/XML/ExtensionPointInterface.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace SimpleSAML\SAML11\XML;
66

7-
use SimpleSAML\XML\Type\{AnyURIValue, NCNameValue, QNameValue};
7+
use SimpleSAML\XMLSchema\Type\{AnyURIValue, NCNameValue, QNameValue};
88

99
/**
1010
* Interface for several extension points objects.
@@ -16,31 +16,31 @@ interface ExtensionPointInterface
1616
/**
1717
* Get the local name for the element's xsi:type.
1818
*
19-
* @return \SimpleSAML\XML\Type\NCNameValue
19+
* @return \SimpleSAML\XMLSchema\Type\NCNameValue
2020
*/
2121
public static function getXsiTypeName(): NCNameValue;
2222

2323

2424
/**
2525
* Get the namespace for the element's xsi:type.
2626
*
27-
* @return \SimpleSAML\XML\Type\AnyURIValue
27+
* @return \SimpleSAML\XMLSchema\Type\AnyURIValue
2828
*/
2929
public static function getXsiTypeNamespaceURI(): AnyURIValue;
3030

3131

3232
/**
3333
* Get the namespace-prefix for the element's xsi:type.
3434
*
35-
* @return \SimpleSAML\XML\Type\NCNameValue
35+
* @return \SimpleSAML\XMLSchema\Type\NCNameValue
3636
*/
3737
public static function getXsiTypePrefix(): NCNameValue;
3838

3939

4040
/**
4141
* Return the xsi:type value corresponding this element.
4242
*
43-
* @return \SimpleSAML\XML\Type\QNameValue
43+
* @return \SimpleSAML\XMLSchema\Type\QNameValue
4444
*/
4545
public function getXsiType(): QNameValue;
4646
}

src/SAML11/XML/ExtensionPointTrait.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
use RuntimeException;
88
use SimpleSAML\SAML11\Assert\Assert;
9-
use SimpleSAML\XML\Type\{AnyURIValue, NCNameValue, QNameValue};
9+
use SimpleSAML\XMLSchema\Type\{AnyURIValue, NCNameValue, QNameValue};
1010

1111
use function constant;
1212
use function defined;
@@ -20,7 +20,7 @@
2020
trait ExtensionPointTrait
2121
{
2222
/**
23-
* @return \SimpleSAML\XML\Type\QNameValue
23+
* @return \SimpleSAML\XMLSchema\Type\QNameValue
2424
*/
2525
public function getXsiType(): QNameValue
2626
{
@@ -31,7 +31,7 @@ public function getXsiType(): QNameValue
3131
/**
3232
* Get the local name for the element's xsi:type.
3333
*
34-
* @return \SimpleSAML\XML\Type\NCNameValue
34+
* @return \SimpleSAML\XMLSchema\Type\NCNameValue
3535
*/
3636
public static function getXsiTypeName(): NCNameValue
3737
{
@@ -49,7 +49,7 @@ public static function getXsiTypeName(): NCNameValue
4949
/**
5050
* Get the namespace for the element's xsi:type.
5151
*
52-
* @return \SimpleSAML\XML\Type\AnyURIValue
52+
* @return \SimpleSAML\XMLSchema\Type\AnyURIValue
5353
*/
5454
public static function getXsiTypeNamespaceURI(): AnyURIValue
5555
{
@@ -67,7 +67,7 @@ public static function getXsiTypeNamespaceURI(): AnyURIValue
6767
/**
6868
* Get the namespace-prefix for the element's xsi:type.
6969
*
70-
* @return \SimpleSAML\XML\Type\NCNameValue
70+
* @return \SimpleSAML\XMLSchema\Type\NCNameValue
7171
*/
7272
public static function getXsiTypePrefix(): NCNameValue
7373
{

src/SAML11/XML/SignableElementTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
use SimpleSAML\Assert\Assert;
99
use SimpleSAML\SAML11\Compat\ContainerSingleton;
1010
use SimpleSAML\XML\DOMDocumentFactory;
11-
use SimpleSAML\XML\Type\{AnyURIValue, Base64BinaryValue};
11+
use SimpleSAML\XMLSchema\Type\{AnyURIValue, Base64BinaryValue};
1212
use SimpleSAML\XMLSecurity\Alg\Signature\SignatureAlgorithmInterface;
1313
use SimpleSAML\XMLSecurity\Constants as C;
1414
use SimpleSAML\XMLSecurity\Exception\{RuntimeException, UnsupportedAlgorithmException};

0 commit comments

Comments
 (0)