Skip to content

Commit 9526557

Browse files
committed
Fix codesniffer issues
1 parent c3f78a8 commit 9526557

2 files changed

Lines changed: 16 additions & 1 deletion

File tree

tests/src/Auth/Process/ExpiryDateTest.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ final class ExpiryDateTest extends TestCase
3737
'Attributes' => [],
3838
];
3939

40+
4041
/**
4142
*/
4243
public function testInvalidWarndaysbefore(): void
@@ -49,6 +50,7 @@ public function testInvalidWarndaysbefore(): void
4950
self::fail();
5051
}
5152

53+
5254
/**
5355
*/
5456
public function testInvalidNetidAttr(): void
@@ -62,6 +64,7 @@ public function testInvalidNetidAttr(): void
6264
self::fail();
6365
}
6466

67+
6568
/**
6669
*/
6770
public function testInvalidExpirydateAttr(): void
@@ -75,6 +78,7 @@ public function testInvalidExpirydateAttr(): void
7578
self::fail();
7679
}
7780

81+
7882
/**
7983
*/
8084
public function testInvalidDateFormat(): void
@@ -88,6 +92,7 @@ public function testInvalidDateFormat(): void
8892
self::fail();
8993
}
9094

95+
9196
/**
9297
*/
9398
public function testInvalidConvertToUnixtime(): void
@@ -101,6 +106,7 @@ public function testInvalidConvertToUnixtime(): void
101106
self::fail();
102107
}
103108

109+
104110
/**
105111
*/
106112
public function testValidConfiguration(): void
@@ -109,6 +115,7 @@ public function testValidConfiguration(): void
109115
self::assertFalse($filter->checkDate(1));
110116
}
111117

118+
112119
/**
113120
*/
114121
public function testWarningPast(): void
@@ -119,6 +126,7 @@ public function testWarningPast(): void
119126
self::assertFalse($warning);
120127
}
121128

129+
122130
/**
123131
*/
124132
public function testWarningNextWeek(): void
@@ -130,6 +138,7 @@ public function testWarningNextWeek(): void
130138
self::assertTrue($warning);
131139
}
132140

141+
133142
/**
134143
*/
135144
public function testWarningDistantFuture(): void
@@ -141,6 +150,7 @@ public function testWarningDistantFuture(): void
141150
self::assertFalse($warning);
142151
}
143152

153+
144154
/**
145155
*/
146156
public function testProcessMissingAttributes(): void
@@ -153,6 +163,7 @@ public function testProcessMissingAttributes(): void
153163
$filter->process($state);
154164
}
155165

166+
156167
/**
157168
*/
158169
public function testProcessMissingNetidAttr(): void
@@ -166,6 +177,7 @@ public function testProcessMissingNetidAttr(): void
166177
$filter->process($state);
167178
}
168179

180+
169181
/**
170182
*/
171183
public function testProcessMissingExpirydate(): void
@@ -181,6 +193,7 @@ public function testProcessMissingExpirydate(): void
181193
self::assertEquals($initialState, $state);
182194
}
183195

196+
184197
/**
185198
*/
186199
public function testProcessNoExpiry(): void

tests/src/Controller/ExpiryCheckTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@ public function testMissingSourceId(string $endpoint): void
6767
$c = new Controller\ExpiryCheck($this->config, $this->session);
6868

6969
$this->expectException(Error\BadRequest::class);
70-
$this->expectExceptionMessage('{"errorCode":"BADREQUEST","%REASON%":"Missing required StateId query parameter."}');
70+
$this->expectExceptionMessage(
71+
'{"errorCode":"BADREQUEST","%REASON%":"Missing required StateId query parameter."}',
72+
);
7173

7274
/** @var callable $callable */
7375
$callable = [$c, $endpoint];

0 commit comments

Comments
 (0)