From 46afc3d64a3443299db3ab7f2b411e6b7c81aef1 Mon Sep 17 00:00:00 2001 From: Tim van Dijen Date: Mon, 15 Jan 2024 18:46:08 +0100 Subject: [PATCH] Remove unused use-statements and order them alphabetically --- composer.json | 3 ++- phpunit.xml | 10 ++++++---- src/Controller/Debug.php | 2 -- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/composer.json b/composer.json index ccfc9f0..eb717d1 100644 --- a/composer.json +++ b/composer.json @@ -32,7 +32,8 @@ "config": { "allow-plugins": { "composer/package-versions-deprecated": true, - "simplesamlphp/composer-module-installer": true + "simplesamlphp/composer-module-installer": true, + "dealerdirect/phpcodesniffer-composer-installer": true } } } diff --git a/phpunit.xml b/phpunit.xml index c8875f3..9fc3df6 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,9 +1,6 @@ - + - - ./src - @@ -17,4 +14,9 @@ + + + ./src + + diff --git a/src/Controller/Debug.php b/src/Controller/Debug.php index 5f6911f..4975f39 100644 --- a/src/Controller/Debug.php +++ b/src/Controller/Debug.php @@ -6,11 +6,9 @@ use SimpleSAML\Configuration; use SimpleSAML\Error; -use SimpleSAML\Module; use SimpleSAML\Session; use SimpleSAML\XHTML\Template; use Symfony\Component\HttpFoundation\Request; -use Symfony\Component\HttpFoundation\Response; /** * Controller class for the saml2debug module.