Skip to content

Commit 008050c

Browse files
authored
Downgraded dependencies and updated code style (#58)
1 parent adc89cd commit 008050c

File tree

3 files changed

+7
-11
lines changed

3 files changed

+7
-11
lines changed

composer.json

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@
3939
"simplesamlphp/assert": "~1.8.2",
4040
"simplesamlphp/composer-module-installer": "~1.4.0",
4141
"simplesamlphp/simplesamlphp": "~2.4.2",
42-
"simplesamlphp/xml-cas": "~2.0.0",
43-
"simplesamlphp/xml-common": "~2.0.0",
44-
"simplesamlphp/xml-soap": "~2.0.0",
42+
"simplesamlphp/xml-cas": "~1.3",
43+
"simplesamlphp/xml-common": "~1.17",
44+
"simplesamlphp/xml-soap": "~1.5",
4545
"symfony/http-foundation": "~6.4.0",
4646
"symfony/http-kernel": "~6.4.0",
4747
"simplesamlphp/saml11": "~1.2.5"
@@ -54,11 +54,8 @@
5454
"source": "https://github.com/simplesamlphp/simplesamlphp-module-casserver"
5555
},
5656
"scripts": {
57-
"validate": [
57+
"verify": [
5858
"vendor/bin/phpcs -p",
59-
"vendor/bin/composer-require-checker check --config-file=tools/composer-require-checker.json composer.json",
60-
"vendor/bin/psalm -c psalm-dev.xml",
61-
"vendor/bin/composer-unused",
6259
"vendor/bin/phpunit --no-coverage --testdox"
6360
],
6461
"tests": [

src/Controller/Cas20Controller.php

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

55
namespace SimpleSAML\Module\casserver\Controller;
66

7-
use Exception;
87
use SimpleSAML\CAS\Constants as C;
98
use SimpleSAML\Configuration;
109
use SimpleSAML\Logger;

src/Controller/LoginController.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828
use Symfony\Component\HttpKernel\Attribute\AsController;
2929
use Symfony\Component\HttpKernel\Attribute\MapQueryParameter;
3030

31-
use in_array;
32-
use http_build_query;
33-
use var_export;
31+
use function http_build_query;
32+
use function in_array;
33+
use function var_export;
3434

3535
#[AsController]
3636
class LoginController

0 commit comments

Comments
 (0)