@@ -29,7 +29,7 @@ public function testSuccess(string $prefix, array $envValue, array $expected): v
2929 /**
3030 * @return \Generator<array{string, array, array}>
3131 */
32- public function provideSuccessCases (): iterable
32+ public static function provideSuccessCases (): iterable
3333 {
3434 yield 'bool-array ' => [
3535 'bool-array ' ,
@@ -82,15 +82,15 @@ public function testInvalidNumeric(string $prefix, array $envValue, string $expe
8282 $ processor = new ArrayCastEnvVarProcessor ();
8383
8484 $ this ->expectException (RuntimeException::class);
85- $ this ->expectExceptionMessage (sprintf ($ expectedMessageFormat , 'DM ' ));
85+ $ this ->expectExceptionMessage (\ sprintf ($ expectedMessageFormat , 'DM ' ));
8686
8787 $ processor ->getEnv ($ prefix , 'DM ' , static fn (): array => $ envValue );
8888 }
8989
9090 /**
9191 * @return \Generator<array{string, array, string}>
9292 */
93- public function provideInvalidNumericCases (): iterable
93+ public static function provideInvalidNumericCases (): iterable
9494 {
9595 yield [
9696 'int-array ' ,
@@ -113,15 +113,15 @@ public function testInvalidBase64(string $prefix, array $envValue, string $expec
113113 $ processor = new ArrayCastEnvVarProcessor ();
114114
115115 $ this ->expectException (RuntimeException::class);
116- $ this ->expectExceptionMessage (sprintf ($ expectedMessageFormat , 'DM ' ));
116+ $ this ->expectExceptionMessage (\ sprintf ($ expectedMessageFormat , 'DM ' ));
117117
118118 $ processor ->getEnv ($ prefix , 'DM ' , static fn (): array => $ envValue );
119119 }
120120
121121 /**
122122 * @return \Generator<array{string, array, string}>
123123 */
124- public function provideInvalidBase64Cases (): iterable
124+ public static function provideInvalidBase64Cases (): iterable
125125 {
126126 yield [
127127 'base64-array ' ,
0 commit comments