Skip to content

Commit 783ee4c

Browse files
OskarStarknicolas-grekas
authored andcommitted
[BC Break] Make data providers for abstract test cases static
1 parent 275ef67 commit 783ee4c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Test/TransportFactoryTestCase.php

+5-5
Original file line numberDiff line numberDiff line change
@@ -31,33 +31,33 @@ abstract public function createFactory(): TransportFactoryInterface;
3131
/**
3232
* @return iterable<array{0: bool, 1: string}>
3333
*/
34-
abstract public function supportsProvider(): iterable;
34+
abstract public static function supportsProvider(): iterable;
3535

3636
/**
3737
* @return iterable<array{0: string, 1: string, 2: TransportInterface}>
3838
*/
39-
abstract public function createProvider(): iterable;
39+
abstract public static function createProvider(): iterable;
4040

4141
/**
4242
* @return iterable<array{0: string, 1: string|null}>
4343
*/
44-
public function unsupportedSchemeProvider(): iterable
44+
public static function unsupportedSchemeProvider(): iterable
4545
{
4646
return [];
4747
}
4848

4949
/**
5050
* @return iterable<array{0: string, 1: string|null}>
5151
*/
52-
public function incompleteDsnProvider(): iterable
52+
public static function incompleteDsnProvider(): iterable
5353
{
5454
return [];
5555
}
5656

5757
/**
5858
* @return iterable<array{0: string, 1: string|null}>
5959
*/
60-
public function missingRequiredOptionProvider(): iterable
60+
public static function missingRequiredOptionProvider(): iterable
6161
{
6262
return [];
6363
}

0 commit comments

Comments
 (0)