Skip to content

Commit f4bb3d1

Browse files
committed
Bump dependencies
2 parents 0bf86b9 + 41cec6a commit f4bb3d1

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"psr/clock": "~1.0",
3131
"psr/http-message": "~2.0",
3232
"psr/log": "~3.0",
33-
"simplesamlphp/assert": "~2.0",
33+
"simplesamlphp/assert": "~3.0",
3434
"simplesamlphp/xml-common": "~3.0",
3535
"simplesamlphp/xml-security": "~3.0",
3636
"simplesamlphp/xml-soap": "~3.0"
@@ -42,7 +42,7 @@
4242
"icanhazstring/composer-unused": "^0.9.6",
4343
"maglnet/composer-require-checker": "^4.20",
4444
"mockery/mockery": "~1.6",
45-
"simplesamlphp/simplesamlphp": "~2.5",
45+
"simplesamlphp/simplesamlphp": "^3.0@dev",
4646
"simplesamlphp/simplesamlphp-test-framework": "~2.0"
4747
},
4848
"suggest": {

tests/SAML2/Binding/HTTPArtifactTest.php

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

55
namespace SimpleSAML\Test\SAML2\Binding;
66

7-
use DOMDocument;
87
use Exception;
98
use Nyholm\Psr7\ServerRequest;
109
use PHPUnit\Framework\Attributes\CoversClass;
@@ -16,11 +15,11 @@
1615
use SimpleSAML\SAML2\Binding\HTTPArtifact;
1716
use SimpleSAML\SAML2\XML\samlp\AbstractMessage;
1817
use SimpleSAML\SAML2\XML\samlp\ArtifactResponse;
18+
use SimpleSAML\XML\DOMDocumentFactory;;
1919
use SimpleSAML\XMLSecurity\TestUtils\PEMCertificatesMock;
2020
use SimpleSAML\XMLSecurity\XML\ds\Signature;
2121

2222
use function htmlspecialchars;
23-
use function method_exists;
2423

2524
/**
2625
* @package simplesamlphp\saml2
@@ -299,7 +298,7 @@ private static function buildMinimalDsSignature(string $signatureAlgorithm): Sig
299298
'<ds:SignatureValue>AA==</ds:SignatureValue>' .
300299
'</ds:Signature>';
301300

302-
$doc = new DOMDocument('1.0', 'UTF-8');
301+
$doc = DOMDocumentFactory::create('1.0', 'UTF-8');
303302
$doc->loadXML($xml);
304303

305304
return Signature::fromXML($doc->documentElement);

0 commit comments

Comments
 (0)