Skip to content

Commit a8d31cd

Browse files
committed
Fix sniffer-issues
1 parent 545f60f commit a8d31cd

File tree

3 files changed

+26
-21
lines changed

3 files changed

+26
-21
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: 22 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,29 @@
1+
---
2+
13
negotiate-enable:
2-
path: /enable
3-
defaults: { _controller: 'SimpleSAML\Module\negotiate\Controller\NegotiateController::enable' }
4-
methods: [GET]
4+
path: /enable
5+
defaults: {
6+
_controller: 'SimpleSAML\Module\negotiate\Controller\NegotiateController::enable'
7+
}
8+
methods: [GET]
59

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

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

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

tests/src/Controller/NegotiateControllerTest.php

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,11 @@
2323
* @package SimpleSAML\Test
2424
* @psalm-suppress PropertyNotSetInConstructor
2525
*/
26-
class NegotiateControllerTest extends TestCase
26+
final class NegotiateControllerTest extends TestCase
2727
{
28-
/** @var \SimpleSAML\Configuration */
2928
protected Configuration $config;
30-
31-
/** @var Logger \SimpleSAML\Logger */
32-
protected \SimpleSAML\Logger $logger;
33-
34-
/** @var \SimpleSAML\Module */
29+
protected Logger $logger;
3530
protected Module $module;
36-
37-
/** @var \SimpleSAML\Session */
3831
protected Session $session;
3932

4033

0 commit comments

Comments
 (0)