1010/**
1111 * Test.
1212 */
13- class ConfigurationTest extends TestCase
13+ final class ConfigurationTest extends TestCase
1414{
1515 /**
1616 * Test.
@@ -34,9 +34,9 @@ public function testGetString($data, string $key, $default, $expected): void
3434 /**
3535 * Provider.
3636 *
37- * @return array<array<mixed>> The test data
37+ * @return array The test data
3838 */
39- public function providerGetString (): array
39+ public static function providerGetString (): array
4040 {
4141 return [
4242 [['key ' => 'value ' ], 'key ' , null , 'value ' ],
@@ -63,16 +63,14 @@ public function testGetStringError($data, string $key): void
6363
6464 $ reader = new Configuration ($ data );
6565 $ reader ->getString ($ key );
66-
67- $ this ->assertTrue (true );
6866 }
6967
7068 /**
7169 * Provider.
7270 *
73- * @return array<array<mixed>> The test data
71+ * @return array The test data
7472 */
75- public function providerGetStringError (): array
73+ public static function providerGetStringError (): array
7674 {
7775 return [
7876 [['key ' => 'value ' ], 'nope ' ],
@@ -103,9 +101,9 @@ public function testFindString($data, string $key, $default, $expected): void
103101 /**
104102 * Provider.
105103 *
106- * @return array<array<mixed>> The test data
104+ * @return array The test data
107105 */
108- public function providerFindString (): array
106+ public static function providerFindString (): array
109107 {
110108 return [
111109 [['key ' => 'value ' ], 'key ' , null , 'value ' ],
@@ -139,9 +137,9 @@ public function testGetInt($data, string $key, $default, $expected): void
139137 /**
140138 * Provider.
141139 *
142- * @return array<array<mixed>> The test data
140+ * @return array The test data
143141 */
144- public function providerGetInt (): array
142+ public static function providerGetInt (): array
145143 {
146144 return [
147145 [['key ' => 123456 ], 'key ' , null , 123456 ],
@@ -175,9 +173,9 @@ public function testGetIntError($data, string $key): void
175173 /**
176174 * Provider.
177175 *
178- * @return array<array<mixed>> The test data
176+ * @return array The test data
179177 */
180- public function providerGetIntError (): array
178+ public static function providerGetIntError (): array
181179 {
182180 return [
183181 [['key ' => 123456 ], 'nope ' ],
@@ -208,9 +206,9 @@ public function testFindInt($data, string $key, $default, $expected): void
208206 /**
209207 * Provider.
210208 *
211- * @return array<array<mixed>> The test data
209+ * @return array The test data
212210 */
213- public function providerFindInt (): array
211+ public static function providerFindInt (): array
214212 {
215213 return [
216214 [['key ' => 123456 ], 'key ' , null , 123456 ],
@@ -244,9 +242,9 @@ public function testGetBool($data, string $key, $default, $expected): void
244242 /**
245243 * Provider.
246244 *
247- * @return array<array<mixed>> The test data
245+ * @return array The test data
248246 */
249- public function providerGetBool (): array
247+ public static function providerGetBool (): array
250248 {
251249 return [
252250 [['key ' => true ], 'key ' , null , true ],
@@ -280,9 +278,9 @@ public function testGetBoolError($data, string $key): void
280278 /**
281279 * Provider.
282280 *
283- * @return array<array<mixed>> The test data
281+ * @return array The test data
284282 */
285- public function providerGetBoolError (): array
283+ public static function providerGetBoolError (): array
286284 {
287285 return [
288286 [['key ' => true ], 'nope ' ],
@@ -313,9 +311,9 @@ public function testFindBool($data, string $key, $default, $expected): void
313311 /**
314312 * Provider.
315313 *
316- * @return array<array<mixed>> The test data
314+ * @return array The test data
317315 */
318- public function providerFindBool (): array
316+ public static function providerFindBool (): array
319317 {
320318 return [
321319 [['key ' => true ], 'key ' , null , true ],
@@ -349,9 +347,9 @@ public function testGetFloat($data, string $key, $default, $expected): void
349347 /**
350348 * Provider.
351349 *
352- * @return array<array<mixed>> The test data
350+ * @return array The test data
353351 */
354- public function providerGetFloat (): array
352+ public static function providerGetFloat (): array
355353 {
356354 return [
357355 [['key ' => 123.456 ], 'key ' , null , 123.456 ],
@@ -385,9 +383,9 @@ public function testGetFloatError($data, string $key): void
385383 /**
386384 * Provider.
387385 *
388- * @return array<array<mixed>> The test data
386+ * @return array The test data
389387 */
390- public function providerGetFloatError (): array
388+ public static function providerGetFloatError (): array
391389 {
392390 return [
393391 [['key ' => 123.456 ], 'nope ' ],
@@ -418,9 +416,9 @@ public function testFindFloat($data, string $key, $default, $expected): void
418416 /**
419417 * Provider.
420418 *
421- * @return array<array<mixed>> The test data
419+ * @return array The test data
422420 */
423- public function providerFindFloat (): array
421+ public static function providerFindFloat (): array
424422 {
425423 return [
426424 [['key ' => 123.456 ], 'key ' , null , 123.456 ],
@@ -454,9 +452,9 @@ public function testGetArray($data, string $key, $default, $expected): void
454452 /**
455453 * Provider.
456454 *
457- * @return array<array<mixed>> The test data
455+ * @return array The test data
458456 */
459- public function providerGetArray (): array
457+ public static function providerGetArray (): array
460458 {
461459 return [
462460 [['key ' => ['key ' => 'value ' ]], 'key ' , null , ['key ' => 'value ' ]],
@@ -490,9 +488,9 @@ public function testGetArrayError($data, string $key): void
490488 /**
491489 * Provider.
492490 *
493- * @return array<array<mixed>> The test data
491+ * @return array The test data
494492 */
495- public function providerGetArrayError (): array
493+ public static function providerGetArrayError (): array
496494 {
497495 return [
498496 [['key ' => ['key ' => 'value ' ]], 'nope ' ],
@@ -523,9 +521,9 @@ public function testFindArray($data, string $key, $default, $expected): void
523521 /**
524522 * Provider.
525523 *
526- * @return array<array<mixed>> The test data
524+ * @return array The test data
527525 */
528- public function providerFindArray (): array
526+ public static function providerFindArray (): array
529527 {
530528 return [
531529 [['key ' => ['key ' => 'value ' ]], 'key ' , null , ['key ' => 'value ' ]],
@@ -559,9 +557,9 @@ public function testGetChronos($data, string $key, $default, $expected): void
559557 /**
560558 * Provider.
561559 *
562- * @return array<array<mixed>> The test data
560+ * @return array The test data
563561 */
564- public function providerGetChronos (): array
562+ public static function providerGetChronos (): array
565563 {
566564 return [
567565 [['key ' => Chronos::now ()], 'key ' , null , Chronos::now ()],
@@ -596,9 +594,9 @@ public function testGetChronosError($data, string $key): void
596594 /**
597595 * Provider.
598596 *
599- * @return array<array<mixed>> The test data
597+ * @return array The test data
600598 */
601- public function providerGetChronosError (): array
599+ public static function providerGetChronosError (): array
602600 {
603601 return [
604602 [['key ' => Chronos::now ()], 'nope ' ],
@@ -629,9 +627,9 @@ public function testFindChronos($data, string $key, $default, $expected): void
629627 /**
630628 * Provider.
631629 *
632- * @return array<array<mixed>> The test data
630+ * @return array The test data
633631 */
634- public function providerFindChronos (): array
632+ public static function providerFindChronos (): array
635633 {
636634 return [
637635 [['key ' => Chronos::now ()], 'key ' , null , Chronos::now ()],
@@ -647,9 +645,9 @@ public function providerFindChronos(): array
647645 /**
648646 * Provider.
649647 *
650- * @return array<array<mixed>> The test data
648+ * @return array The test data
651649 */
652- public function providerAll (): array
650+ public static function providerAll (): array
653651 {
654652 return [
655653 [['key ' => Chronos::now ()]],
0 commit comments