Skip to content

Commit 16a8fb1

Browse files
committed
Fix incomplete namespace
1 parent 4218661 commit 16a8fb1

8 files changed

Lines changed: 17 additions & 17 deletions

File tree

modules/saml/src/Auth/Process/PairwiseID.php

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

55
namespace SimpleSAML\Module\saml\Auth\Process;
66

7-
use SAML2\Constants;
7+
use SimpleSAML\SAML2\Constants;
88

99
use function strtolower;
1010

modules/saml/src/Auth/Process/ScopedIssuer.php

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

55
namespace SimpleSAML\Module\saml\Auth\Process;
66

7-
use SAML2\Exception\ProtocolViolationException;
87
use SimpleSAML\Assert\Assert;
98
use SimpleSAML\Auth;
9+
use SimpleSAML\SAML2\Exception\ProtocolViolationException;
1010

1111
use function array_key_exists;
1212
use function explode;

modules/saml/src/Auth/Process/SubjectID.php

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

55
namespace SimpleSAML\Module\saml\Auth\Process;
66

7-
use SAML2\Constants;
8-
use SAML2\Exception\ProtocolViolationException;
97
use SimpleSAML\Assert\Assert;
108
use SimpleSAML\Auth;
119
use SimpleSAML\Logger;
10+
use SimpleSAML\SAML2\Constants;
11+
use SimpleSAML\SAML2\Exception\ProtocolViolationException;
1212
use SimpleSAML\Utils;
1313

1414
use function array_key_exists;

modules/saml/src/Auth/Source/SP.php

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

77
use SAML2\AuthnRequest;
88
use SAML2\Binding;
9-
use SAML2\Constants;
10-
use SAML2\Exception\Protocol\NoAvailableIDPException;
11-
use SAML2\Exception\Protocol\NoPassiveException;
12-
use SAML2\Exception\Protocol\NoSupportedIDPException;
13-
use SAML2\Exception\Protocol\ProtocolViolationException;
149
use SAML2\LogoutRequest;
1510
use SAML2\XML\saml\NameID;
1611
use SimpleSAML\Assert\Assert;
@@ -22,6 +17,11 @@
2217
use SimpleSAML\Metadata\MetaDataStorageHandler;
2318
use SimpleSAML\Module;
2419
use SimpleSAML\Module\saml\Error\ProxyCountExceeded;
20+
use SimpleSAML\SAML2\Constants;
21+
use SimpleSAML\SAML2\Exception\Protocol\NoAvailableIDPException;
22+
use SimpleSAML\SAML2\Exception\Protocol\NoPassiveException;
23+
use SimpleSAML\SAML2\Exception\Protocol\NoSupportedIDPException;
24+
use SimpleSAML\SAML2\Exception\ProtocolViolationException;
2525
use SimpleSAML\SAML2\XML\samlp\AuthnContextComparisonTypeEnum;
2626
use SimpleSAML\Session;
2727
use SimpleSAML\Store;

tests/modules/saml/src/Auth/Process/PairwiseIDTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
use PHPUnit\Framework\Attributes\CoversClass;
88
use PHPUnit\Framework\TestCase;
99
use RuntimeException;
10-
use SAML2\Constants as C;
11-
use SAML2\Exception\ProtocolViolationException;
1210
use SimpleSAML\Configuration;
1311
use SimpleSAML\Logger;
1412
use SimpleSAML\Module\saml\Auth\Process\PairwiseID;
13+
use SimpleSAML\SAML2\Constants as C;
14+
use SimpleSAML\SAML2\Exception\ProtocolViolationException;
1515
use SimpleSAML\Utils;
1616

1717
/**

tests/modules/saml/src/Auth/Process/ScopedIssuerTest.php

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

77
use PHPUnit\Framework\Attributes\CoversClass;
88
use PHPUnit\Framework\TestCase;
9-
use SAML2\Exception\ProtocolViolationException;
109
use SimpleSAML\Assert\AssertionFailedException;
1110
use SimpleSAML\Module\saml\Auth\Process\ScopedIssuer;
11+
use SimpleSAML\SAML2\Exception\ProtocolViolationException;
1212

1313
/**
1414
* Test for the saml:ScopedIssuer filter.

tests/modules/saml/src/Auth/Process/SubjectIDTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
use PHPUnit\Framework\Attributes\CoversClass;
88
use PHPUnit\Framework\TestCase;
99
use RuntimeException;
10-
use SAML2\Constants as C;
11-
use SAML2\Exception\ProtocolViolationException;
1210
use SimpleSAML\Configuration;
1311
use SimpleSAML\Logger;
1412
use SimpleSAML\Module\saml\Auth\Process\SubjectID;
13+
use SimpleSAML\SAML2\Constants as C;
14+
use SimpleSAML\SAML2\Exception\ProtocolViolationException;
1515
use SimpleSAML\Utils;
1616

1717
/**

tests/modules/saml/src/Auth/Source/SPTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@
88
use PHPUnit\Framework\Attributes\CoversClass;
99
use PHPUnit\Framework\Attributes\DataProvider;
1010
use SAML2\AuthnRequest;
11-
use SAML2\Constants;
12-
use SAML2\Exception\Protocol\NoAvailableIDPException;
13-
use SAML2\Exception\Protocol\NoSupportedIDPException;
1411
use SAML2\LogoutRequest;
1512
use SAML2\Utils;
1613
use SAML2\XML\saml\NameID;
1714
use SimpleSAML\Assert\AssertionFailedException;
1815
use SimpleSAML\Configuration;
1916
use SimpleSAML\Error\Exception;
2017
use SimpleSAML\Module\saml\Auth\Source\SP;
18+
use SimpleSAML\SAML2\Constants;
19+
use SimpleSAML\SAML2\Exception\Protocol\NoAvailableIDPException;
20+
use SimpleSAML\SAML2\Exception\Protocol\NoSupportedIDPException;
2121
use SimpleSAML\Test\Metadata\MetaDataStorageSourceTest;
2222
use SimpleSAML\Test\Utils\ExitTestException;
2323
use SimpleSAML\Test\Utils\SpTester;

0 commit comments

Comments
 (0)