Skip to content

Commit cb6e198

Browse files
OskarStarknicolas-grekas
authored andcommitted
[BC Break] Make data providers for abstract test cases static
1 parent b4e6a5e commit cb6e198

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Tests/ClickatellTransportFactoryTest.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 ClickatellTransportFactory();
2626
}
2727

28-
public function createProvider(): iterable
28+
public static function createProvider(): iterable
2929
{
3030
yield [
3131
'clickatell://host.test?from=0611223344',
3232
'clickatell://authtoken@host.test?from=0611223344',
3333
];
3434
}
3535

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

42-
public function incompleteDsnProvider(): iterable
42+
public static function incompleteDsnProvider(): iterable
4343
{
4444
yield 'missing auth token' => ['clickatell://host?from=FROM'];
4545
}
4646

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

0 commit comments

Comments
 (0)