Skip to content

Commit f73a492

Browse files
committed
Adopt SSP coding-style
1 parent 1572c07 commit f73a492

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/Auth/Source/CAS.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ class CAS extends Auth\Source
4343
*/
4444
public const AUTHID = '\SimpleSAML\Module\cas\Auth\Source\CAS.AuthId';
4545

46+
4647
/**
4748
* @var array<mixed> with ldap configuration
4849
*/
@@ -64,6 +65,7 @@ class CAS extends Auth\Source
6465
*/
6566
private string $loginMethod;
6667

68+
6769
/**
6870
* Constructor for this authentication source.
6971
*

tests/src/Controller/CASTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
use SimpleSAML\HTTP\RunnableResponse;
1313
use SimpleSAML\Module\cas\Auth\Source\CAS;
1414
use SimpleSAML\Module\cas\Controller;
15-
use Symfony\Component\HttpFoundation\{Request, Response};
15+
use Symfony\Component\HttpFoundation\Request;
1616

1717
/**
1818
* Set of tests for the controllers in the "cas" module.
@@ -183,6 +183,7 @@ public function __construct()
183183
//dummy
184184
}
185185

186+
186187
/**
187188
* @param array<mixed> $state
188189
*/
@@ -191,6 +192,7 @@ public function authenticate(array &$state): void
191192
//dummy
192193
}
193194

195+
194196
public static function getById(string $authId, ?string $type = null): ?Auth\Source
195197
{
196198
return new class () extends CAS {
@@ -199,6 +201,7 @@ public function __construct()
199201
//dummy
200202
}
201203

204+
202205
/** @param array<mixed> $state */
203206
public function finalStep(array &$state): void
204207
{

0 commit comments

Comments
 (0)