diff --git a/composer.json b/composer.json index 4407dd4..1f17a12 100644 --- a/composer.json +++ b/composer.json @@ -39,9 +39,9 @@ "simplesamlphp/assert": "~1.8.2", "simplesamlphp/composer-module-installer": "~1.4.0", "simplesamlphp/simplesamlphp": "~2.4.2", - "simplesamlphp/xml-cas": "~2.0.0", - "simplesamlphp/xml-common": "~2.0.0", - "simplesamlphp/xml-soap": "~2.0.0", + "simplesamlphp/xml-cas": "~1.3", + "simplesamlphp/xml-common": "~1.17", + "simplesamlphp/xml-soap": "~1.5", "symfony/http-foundation": "~6.4.0", "symfony/http-kernel": "~6.4.0", "simplesamlphp/saml11": "~1.2.5" @@ -54,11 +54,8 @@ "source": "https://github.com/simplesamlphp/simplesamlphp-module-casserver" }, "scripts": { - "validate": [ + "verify": [ "vendor/bin/phpcs -p", - "vendor/bin/composer-require-checker check --config-file=tools/composer-require-checker.json composer.json", - "vendor/bin/psalm -c psalm-dev.xml", - "vendor/bin/composer-unused", "vendor/bin/phpunit --no-coverage --testdox" ], "tests": [ diff --git a/src/Controller/Cas20Controller.php b/src/Controller/Cas20Controller.php index 00477d8..76de66a 100644 --- a/src/Controller/Cas20Controller.php +++ b/src/Controller/Cas20Controller.php @@ -4,7 +4,6 @@ namespace SimpleSAML\Module\casserver\Controller; -use Exception; use SimpleSAML\CAS\Constants as C; use SimpleSAML\Configuration; use SimpleSAML\Logger; diff --git a/src/Controller/LoginController.php b/src/Controller/LoginController.php index 2b7c4f8..91e3268 100644 --- a/src/Controller/LoginController.php +++ b/src/Controller/LoginController.php @@ -28,9 +28,9 @@ use Symfony\Component\HttpKernel\Attribute\AsController; use Symfony\Component\HttpKernel\Attribute\MapQueryParameter; -use in_array; -use http_build_query; -use var_export; +use function http_build_query; +use function in_array; +use function var_export; #[AsController] class LoginController