|
5 | 5 | namespace SimpleSAML\Module\admin\Controller; |
6 | 6 |
|
7 | 7 | use Exception; |
8 | | -use SimpleSAML\Assert\Assert; |
9 | | -use SimpleSAML\Assert\AssertionFailedException; |
10 | | -use SimpleSAML\Auth; |
11 | | -use SimpleSAML\Configuration; |
| 8 | +use SimpleSAML\{Auth, Configuration, Logger, Module, Utils}; |
| 9 | +use SimpleSAML\Assert\{Assert, AssertionFailedException}; |
12 | 10 | use SimpleSAML\Locale\Translate; |
13 | | -use SimpleSAML\Logger; |
14 | | -use SimpleSAML\Metadata\MetaDataStorageHandler; |
15 | | -use SimpleSAML\Metadata\SAMLBuilder; |
16 | | -use SimpleSAML\Metadata\SAMLParser; |
17 | | -use SimpleSAML\Metadata\Signer; |
18 | | -use SimpleSAML\Module; |
| 11 | +use SimpleSAML\Metadata\{MetaDataStorageHandler, SAMLBuilder, SAMLParser, Signer}; |
19 | 12 | use SimpleSAML\Module\adfs\IdP\ADFS as ADFS_IdP; |
20 | 13 | use SimpleSAML\Module\saml\IdP\SAML2 as SAML2_IdP; |
21 | 14 | use SimpleSAML\SAML2\Constants as C; |
22 | 15 | use SimpleSAML\SAML2\Exception\ArrayValidationException; |
23 | 16 | use SimpleSAML\SAML2\XML\md\ContactPerson; |
24 | | -use SimpleSAML\Utils; |
25 | 17 | use SimpleSAML\XHTML\Template; |
26 | | -use Symfony\Component\HttpFoundation\Request; |
27 | | -use Symfony\Component\HttpFoundation\Response; |
28 | | -use Symfony\Component\HttpFoundation\ResponseHeaderBag; |
| 18 | +use Symfony\Component\HttpFoundation\{Request, Response, ResponseHeaderBag}; |
29 | 19 | use Symfony\Component\VarExporter\VarExporter; |
30 | 20 |
|
| 21 | +use function array_merge; |
| 22 | +use function array_pop; |
| 23 | +use function array_values; |
| 24 | +use function count; |
| 25 | +use function file_get_contents; |
| 26 | +use function is_array; |
| 27 | +use function sprintf; |
| 28 | +use function str_replace; |
| 29 | +use function trim; |
| 30 | +use function urlencode; |
| 31 | +use function var_export; |
| 32 | + |
31 | 33 | /** |
32 | 34 | * Controller class for the admin module. |
33 | 35 | * |
|
0 commit comments