@@ -113,12 +113,12 @@ public function testCustomMissingFormEncodedBodyShouldFail()
113113 $ this ->assertSame (401 , $ response ->getStatusCode ());
114114 }
115115
116- public function defaultFormEncodedBodyFailureData (): iterable
116+ public static function defaultFormEncodedBodyFailureData (): iterable
117117 {
118118 yield [['access_token ' => 'INVALID_ACCESS_TOKEN ' ], ['CONTENT_TYPE ' => 'application/x-www-form-urlencoded ' ]];
119119 }
120120
121- public function customFormEncodedBodyFailure (): iterable
121+ public static function customFormEncodedBodyFailure (): iterable
122122 {
123123 yield [['secured_token ' => 'INVALID_ACCESS_TOKEN ' ], ['CONTENT_TYPE ' => 'application/x-www-form-urlencoded ' ]];
124124 }
@@ -211,24 +211,24 @@ public function testCustomMissingHeaderAccessTokenShouldFail(array $headers)
211211 $ this ->assertSame (401 , $ response ->getStatusCode ());
212212 }
213213
214- public function defaultHeaderAccessTokenFailureData (): iterable
214+ public static function defaultHeaderAccessTokenFailureData (): iterable
215215 {
216216 yield [['HTTP_AUTHORIZATION ' => 'Bearer INVALID_ACCESS_TOKEN ' ]];
217217 }
218218
219- public function defaultMissingHeaderAccessTokenFailData (): iterable
219+ public static function defaultMissingHeaderAccessTokenFailData (): iterable
220220 {
221221 yield [['HTTP_AUTHORIZATION ' => 'JWT INVALID_TOKEN_TYPE ' ]];
222222 yield [['HTTP_X_FOO ' => 'Missing-Header ' ]];
223223 yield [['HTTP_X_AUTH_TOKEN ' => 'this is not a token ' ]];
224224 }
225225
226- public function customHeaderAccessTokenFailure (): iterable
226+ public static function customHeaderAccessTokenFailure (): iterable
227227 {
228228 yield [['HTTP_X_AUTH_TOKEN ' => 'INVALID_ACCESS_TOKEN ' ], 500 ];
229229 }
230230
231- public function customMissingHeaderAccessTokenShouldFail (): iterable
231+ public static function customMissingHeaderAccessTokenShouldFail (): iterable
232232 {
233233 yield [[]];
234234 yield [['HTTP_AUTHORIZATION ' => 'Bearer this is not a token ' ]];
@@ -306,12 +306,12 @@ public function testCustomMissingQueryAccessTokenShouldFail()
306306 $ this ->assertSame (401 , $ response ->getStatusCode ());
307307 }
308308
309- public function defaultQueryAccessTokenFailureData (): iterable
309+ public static function defaultQueryAccessTokenFailureData (): iterable
310310 {
311311 yield ['/foo?access_token=INVALID_ACCESS_TOKEN ' ];
312312 }
313313
314- public function customQueryAccessTokenFailure (): iterable
314+ public static function customQueryAccessTokenFailure (): iterable
315315 {
316316 yield ['/foo?protection_token=INVALID_ACCESS_TOKEN ' ];
317317 }
0 commit comments