diff --git a/composer.json b/composer.json index e96bd0a..db3cae2 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,8 @@ }, "allow-plugins": { "composer/package-versions-deprecated": true, - "simplesamlphp/composer-module-installer": true + "simplesamlphp/composer-module-installer": true, + "dealerdirect/phpcodesniffer-composer-installer": true } }, "autoload": { diff --git a/src/Controller/Adfs.php b/src/Controller/Adfs.php index de14c8e..407f692 100644 --- a/src/Controller/Adfs.php +++ b/src/Controller/Adfs.php @@ -5,19 +5,17 @@ namespace SimpleSAML\Module\adfs\Controller; use Exception; -use SimpleSAML\SAML2\Constants; use SimpleSAML\Assert\Assert; use SimpleSAML\Configuration; use SimpleSAML\Error as SspError; use SimpleSAML\IdP; -use SimpleSAML\Locale\Translate; use SimpleSAML\Logger; +use SimpleSAML\Metadata; use SimpleSAML\Module; use SimpleSAML\Module\adfs\IdP\ADFS as ADFS_IDP; -use SimpleSAML\Metadata; +use SimpleSAML\SAML2\Constants; use SimpleSAML\Session; use SimpleSAML\Utils; -use SimpleSAML\XHTML\Template; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpFoundation\StreamedResponse; diff --git a/tests/src/Controller/AdfsControllerTest.php b/tests/src/Controller/AdfsControllerTest.php index 9243111..0b6cffa 100644 --- a/tests/src/Controller/AdfsControllerTest.php +++ b/tests/src/Controller/AdfsControllerTest.php @@ -11,7 +11,6 @@ use SimpleSAML\Module\adfs\Controller; use SimpleSAML\Session; use Symfony\Component\HttpFoundation\Request; -use Symfony\Component\HttpFoundation\Response; use function dirname;