Skip to content

Commit ea682e4

Browse files
Merge branch '7.4' into 8.0
* 7.4: CS fixes
2 parents 57e96c0 + e2e1ecd commit ea682e4

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

Test/AbstractTransportFactoryTestCase.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ abstract public static function createProvider(): iterable;
3737
*/
3838
abstract public static function unsupportedSchemeProvider(): iterable;
3939

40+
/**
41+
* @dataProvider supportsProvider
42+
*/
4043
#[DataProvider('supportsProvider')]
4144
public function testSupports(bool $expected, string $dsn)
4245
{

Test/TransportTestCase.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,18 @@ abstract public static function supportedMessagesProvider(): iterable;
4545
*/
4646
abstract public static function unsupportedMessagesProvider(): iterable;
4747

48+
/**
49+
* @dataProvider toStringProvider
50+
*/
4851
#[DataProvider('toStringProvider')]
4952
public function testToString(string $expected, TransportInterface $transport)
5053
{
5154
$this->assertSame($expected, (string) $transport);
5255
}
5356

57+
/**
58+
* @dataProvider supportedMessagesProvider
59+
*/
5460
#[DataProvider('supportedMessagesProvider')]
5561
public function testSupportedMessages(MessageInterface $message, ?TransportInterface $transport = null)
5662
{
@@ -59,6 +65,9 @@ public function testSupportedMessages(MessageInterface $message, ?TransportInter
5965
$this->assertTrue($transport->supports($message));
6066
}
6167

68+
/**
69+
* @dataProvider unsupportedMessagesProvider
70+
*/
6271
#[DataProvider('unsupportedMessagesProvider')]
6372
public function testUnsupportedMessages(MessageInterface $message, ?TransportInterface $transport = null)
6473
{
@@ -67,6 +76,9 @@ public function testUnsupportedMessages(MessageInterface $message, ?TransportInt
6776
$this->assertFalse($transport->supports($message));
6877
}
6978

79+
/**
80+
* @dataProvider unsupportedMessagesProvider
81+
*/
7082
#[DataProvider('unsupportedMessagesProvider')]
7183
public function testUnsupportedMessagesTrowUnsupportedMessageTypeExceptionWhenSend(MessageInterface $message, ?TransportInterface $transport = null)
7284
{

0 commit comments

Comments
 (0)