Skip to content

Commit c46f3a5

Browse files
committed
Fix sniffer-issues
1 parent 89a9568 commit c46f3a5

File tree

3 files changed

+35
-26
lines changed

3 files changed

+35
-26
lines changed

codecov.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
---
2+
13
coverage:
24
status:
35
project:

routing/routes/routes.yaml

Lines changed: 32 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,43 @@
1+
---
2+
13
negotiate-auth:
2-
path: /auth
3-
defaults: { _controller: 'SimpleSAML\Module\negotiateext\Controller\NegotiateController::auth' }
4-
methods: [GET]
4+
path: /auth
5+
defaults: {
6+
_controller: 'SimpleSAML\Module\negotiateext\Controller\NegotiateController::auth'
7+
}
8+
methods: [GET]
59

610
negotiate-error:
7-
path: /error
8-
defaults: { _controller: 'SimpleSAML\Module\negotiateext\Controller\NegotiateController::error' }
9-
methods: [GET]
11+
path: /error
12+
defaults: {
13+
_controller: 'SimpleSAML\Module\negotiateext\Controller\NegotiateController::error'
14+
}
15+
methods: [GET]
1016

1117
negotiate-enable:
12-
path: /enable
13-
defaults: { _controller: 'SimpleSAML\Module\negotiateext\Controller\NegotiateController::enable' }
14-
methods: [GET]
18+
path: /enable
19+
defaults: {
20+
_controller: 'SimpleSAML\Module\negotiateext\Controller\NegotiateController::enable'
21+
}
22+
methods: [GET]
1523

1624
negotiate-disable:
17-
path: /disable
18-
defaults: { _controller: 'SimpleSAML\Module\negotiateext\Controller\NegotiateController::disable' }
19-
methods: [GET]
25+
path: /disable
26+
defaults: {
27+
_controller: 'SimpleSAML\Module\negotiateext\Controller\NegotiateController::disable'
28+
}
29+
methods: [GET]
2030

2131
negotiate-retry:
22-
path: /retry
23-
defaults: { _controller: 'SimpleSAML\Module\negotiateext\Controller\NegotiateController::retry' }
24-
methods: [GET]
32+
path: /retry
33+
defaults: {
34+
_controller: 'SimpleSAML\Module\negotiateext\Controller\NegotiateController::retry'
35+
}
36+
methods: [GET]
2537

2638
negotiate-fallback:
27-
path: /fallback
28-
defaults: { _controller: 'SimpleSAML\Module\negotiateext\Controller\NegotiateController::fallback' }
29-
methods: [GET]
39+
path: /fallback
40+
defaults: {
41+
_controller: 'SimpleSAML\Module\negotiateext\Controller\NegotiateController::fallback'
42+
}
43+
methods: [GET]

tests/src/Controller/NegotiateControllerTest.php

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,9 @@
1818
*
1919
* @package SimpleSAML\Test
2020
*/
21-
class NegotiateControllerTest extends TestCase
21+
final class NegotiateControllerTest extends TestCase
2222
{
23-
/** @var \SimpleSAML\Configuration */
2423
protected Configuration $config;
25-
26-
/** @var \SimpleSAML\Session */
2724
protected Session $session;
2825

2926
/**
@@ -125,8 +122,6 @@ public function testErrorInvalidState(): void
125122
public function testEnable(): void
126123
{
127124
$c = new Controller\NegotiateController($this->config, $this->session);
128-
129-
/** @var \SimpleSAML\XHTML\Template $response */
130125
$response = $c->enable();
131126

132127
// Validate response
@@ -157,8 +152,6 @@ public function testEnable(): void
157152
public function testDisable(): void
158153
{
159154
$c = new Controller\NegotiateController($this->config, $this->session);
160-
161-
/** @var \SimpleSAML\XHTML\Template $response */
162155
$response = $c->disable();
163156

164157
// Validate response

0 commit comments

Comments
 (0)