Skip to content

Commit 29721da

Browse files
Merge branch '5.4' into 6.2
* 5.4: [Translation][Mailer] Convert `$this` calls to static ones in data providers [BC Break] Make data providers for abstract test cases static use TestCase suffix for abstract tests in Tests directories Fix Request locale property doc types Bump absolute lowest dep to 4.4
2 parents c83f712 + 0a5211d commit 29721da

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Tests/ZulipTransportFactoryTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,31 +21,31 @@ public function createFactory(): ZulipTransportFactory
2121
return new ZulipTransportFactory();
2222
}
2323

24-
public function createProvider(): iterable
24+
public static function createProvider(): iterable
2525
{
2626
yield [
2727
'zulip://host.test?channel=testChannel',
2828
'zulip://email:token@host.test?channel=testChannel',
2929
];
3030
}
3131

32-
public function supportsProvider(): iterable
32+
public static function supportsProvider(): iterable
3333
{
3434
yield [true, 'zulip://host?channel=testChannel'];
3535
yield [false, 'somethingElse://host?channel=testChannel'];
3636
}
3737

38-
public function incompleteDsnProvider(): iterable
38+
public static function incompleteDsnProvider(): iterable
3939
{
4040
yield 'missing email or token' => ['zulip://testOneOfEmailOrToken@host.test?channel=testChannel'];
4141
}
4242

43-
public function missingRequiredOptionProvider(): iterable
43+
public static function missingRequiredOptionProvider(): iterable
4444
{
4545
yield 'missing option: channel' => ['zulip://email:token@host'];
4646
}
4747

48-
public function unsupportedSchemeProvider(): iterable
48+
public static function unsupportedSchemeProvider(): iterable
4949
{
5050
yield ['somethingElse://email:token@host?channel=testChannel'];
5151
yield ['somethingElse://email:token@host']; // missing "channel" option

0 commit comments

Comments
 (0)