Skip to content

Commit afa9945

Browse files
committed
Adopt SSP coding-style
1 parent ca0e771 commit afa9945

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

src/Auth/Source/Negotiate.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
use SimpleSAML\Module;
1313
use SimpleSAML\Session;
1414
use SimpleSAML\Utils;
15-
use Symfony\Component\HttpFoundation\{IpUtils, Request};
15+
use Symfony\Component\HttpFoundation\IpUtils;
16+
use Symfony\Component\HttpFoundation\Request;
1617

1718
/**
1819
* The Negotiate module. Allows for password-less, secure login by Kerberos and Negotiate.
@@ -24,6 +25,7 @@ class Negotiate extends \SimpleSAML\Auth\Source
2425
// Constants used in the module
2526
public const STAGEID = '\SimpleSAML\Module\negotiateext\Auth\Source\Negotiate.StageId';
2627

28+
2729
/** @var string */
2830
protected string $backend;
2931

src/Controller/NegotiateController.php

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515
use SimpleSAML\Module\negotiateext\Auth\Source\Negotiate;
1616
use SimpleSAML\Session;
1717
use SimpleSAML\XHTML\Template;
18-
use Symfony\Component\HttpFoundation\{Cookie, RedirectResponse, Request};
18+
use Symfony\Component\HttpFoundation\Cookie;
19+
use Symfony\Component\HttpFoundation\RedirectResponse;
20+
use Symfony\Component\HttpFoundation\Request;
1921

2022
/**
2123
* Controller class for the negotiate module.
@@ -66,7 +68,7 @@ public function auth(): RunnableResponse
6668
/**
6769
* Process authentication error
6870
*
69-
* @param Request $request The request that lead to this retry operation.
71+
* @param \Symfony\Component\HttpFoundation\Request $request The request that lead to this retry operation.
7072
* @return \Symfony\Component\HttpFoundation\RedirectResponse
7173
*/
7274
public function error(Request $request): RedirectResponse
@@ -143,7 +145,7 @@ public function disable(): Template
143145
/**
144146
* Show retry
145147
*
146-
* @param Request $request The request that lead to this retry operation.
148+
* @param \Symfony\Component\HttpFoundation\Request $request The request that lead to this retry operation.
147149
* @return \SimpleSAML\HTTP\RunnableResponse
148150
*/
149151
public function retry(Request $request): RunnableResponse
@@ -178,7 +180,7 @@ public function retry(Request $request): RunnableResponse
178180
/**
179181
* Show fallback
180182
*
181-
* @param Request $request The request that lead to this retry operation.
183+
* @param \Symfony\Component\HttpFoundation\Request $request The request that lead to this retry operation.
182184
* @return \SimpleSAML\HTTP\RunnableResponse
183185
*/
184186
public function fallback(Request $request): RunnableResponse

tests/src/Controller/NegotiateControllerTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@
2121
final class NegotiateControllerTest extends TestCase
2222
{
2323
protected Configuration $config;
24+
2425
protected Session $session;
2526

27+
2628
/**
2729
* Set up for each test.
2830
*/

0 commit comments

Comments
 (0)