Skip to content

Commit faca15b

Browse files
committed
Make phpunit providers static
1 parent 3042d32 commit faca15b

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

tests/Misc/UtilTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function testGuzzleVersions($a, $b): void
4545
}
4646

4747
/** @return array */
48-
public function guzzleVersionProvider(): array
48+
public static function guzzleVersionProvider(): array
4949
{
5050
return [
5151
[6, '6.0.0'],

tests/Service/LabellingServiceTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ public function testNegativeGenerateLabelInvalidResponseRest(ResponseInterface $
667667
/**
668668
* @return array[]
669669
*/
670-
public function singleLabelsProvider(): array
670+
public static function singleLabelsProvider(): array
671671
{
672672
return [
673673
[PsrMessage::parseResponse(message: file_get_contents(filename: _RESPONSES_DIR_.'/rest/labelling/singlelabel.http'))],
@@ -679,7 +679,7 @@ public function singleLabelsProvider(): array
679679
/**
680680
* @return array[]
681681
*/
682-
public function multipleLabelsProvider(): array
682+
public static function multipleLabelsProvider(): array
683683
{
684684
return [
685685
[

0 commit comments

Comments
 (0)