Skip to content

Commit e28613d

Browse files
committed
Fix sniffer-issues
1 parent 82cc498 commit e28613d

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
@@ -19,12 +19,9 @@
1919
*
2020
* @package SimpleSAML\Test
2121
*/
22-
class NegotiateControllerTest extends TestCase
22+
final class NegotiateControllerTest extends TestCase
2323
{
24-
/** @var \SimpleSAML\Configuration */
2524
protected Configuration $config;
26-
27-
/** @var \SimpleSAML\Session */
2825
protected Session $session;
2926

3027
/**
@@ -126,8 +123,6 @@ public function testErrorInvalidState(): void
126123
public function testEnable(): void
127124
{
128125
$c = new Controller\NegotiateController($this->config, $this->session);
129-
130-
/** @var \SimpleSAML\XHTML\Template $response */
131126
$response = $c->enable();
132127

133128
// Validate response
@@ -158,8 +153,6 @@ public function testEnable(): void
158153
public function testDisable(): void
159154
{
160155
$c = new Controller\NegotiateController($this->config, $this->session);
161-
162-
/** @var \SimpleSAML\XHTML\Template $response */
163156
$response = $c->disable();
164157

165158
// Validate response

0 commit comments

Comments
 (0)