Skip to content

Commit 39e5711

Browse files
OskarStarknicolas-grekas
authored andcommitted
[BC Break] Make data providers for abstract test cases static
1 parent 927ae76 commit 39e5711

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Tests/SmscTransportFactoryTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,26 +25,26 @@ public function createFactory(): TransportFactoryInterface
2525
return new SmscTransportFactory();
2626
}
2727

28-
public function createProvider(): iterable
28+
public static function createProvider(): iterable
2929
{
3030
yield [
3131
'smsc://host.test?from=MyApp',
3232
'smsc://login:[email protected]?from=MyApp',
3333
];
3434
}
3535

36-
public function supportsProvider(): iterable
36+
public static function supportsProvider(): iterable
3737
{
3838
yield [true, 'smsc://login:password@default?from=MyApp'];
3939
yield [false, 'somethingElse://login:password@default?from=MyApp'];
4040
}
4141

42-
public function missingRequiredOptionProvider(): iterable
42+
public static function missingRequiredOptionProvider(): iterable
4343
{
4444
yield 'missing option: from' => ['smsc://login:password@default'];
4545
}
4646

47-
public function unsupportedSchemeProvider(): iterable
47+
public static function unsupportedSchemeProvider(): iterable
4848
{
4949
yield ['somethingElse://login:password@default?from=MyApp'];
5050
yield ['somethingElse://login:password@default']; // missing "from" option

0 commit comments

Comments
 (0)