8000 Remove void typehint from tests · symfony/symfony@8096577 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8096577

Browse files
committed
Remove void typehint from tests
1 parent 8d4cdd4 commit 8096577

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/Symfony/Component/Notifier/Bridge/TurboSms/Tests/TurboSmsTransportTest.php

+7-7
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public static function unsupportedMessagesProvider(): iterable
4646
yield [new DummyMessage()];
4747
}
4848

49-
public function testSuccessfulSend(): void
49+
public function testSuccessfulSend()
5050
{
5151
$response = $this->createMock(ResponseInterface::class);
5252
$response
@@ -93,7 +93,7 @@ public function testSuccessfulSend(): void
9393
self::assertSame('f83f8868-5e46-c6cf-e4fb-615e5a293754', $sentMessage->getMessageId());
9494
}
9595

96-
public function testFailedSendWithPartialAccepted(): void
96+
public function testFailedSendWithPartialAccepted()
9797
{
9898
$response = $this->createMock(ResponseInterface::class);
9999
$response
@@ -130,7 +130,7 @@ public function testFailedSendWithPartialAccepted(): void
130130
$transport->send($message);
131131
}
132132

133-
public function testFailedSend(): void
133+
public function testFailedSend()
134134
{
135135
$response = $this->createMock(ResponseInterface::class);
136136
$response
@@ -160,7 +160,7 @@ public function testFailedSend(): void
160160
$transport->send($message);
161161
}
162162

163-
public function testInvalidFrom(): void
163+
public function testInvalidFrom()
164164
{
165165
$this->expectException(LengthException::class);
166166
$this->expectExceptionMessage('The sender length of a TurboSMS message must not exceed 20 characters.');
@@ -171,7 +171,7 @@ public function testInvalidFrom(): void
171171
$transport->send($message);
172172
}
173173

174-
public function testInvalidSubjectWithLatinSymbols(): void
174+
public function testInvalidSubjectWithLatinSymbols()
175175
{
176176
$message = new SmsMessage('380931234567', str_repeat('z', 1522));
177177
$transport = new TurboSmsTransport('authToken', 'sender', $this->createMock(HttpClientInterface::class));
@@ -182,7 +182,7 @@ public function testInvalidSubjectWithLatinSymbols(): void
182182
$transport->send($message);
183183
}
184184

185-
public function testInvalidSubjectWithCyrillicSymbols(): void
185+
public function testInvalidSubjectWithCyrillicSymbols()
186186
{
187187
$message = new SmsMessage('380931234567', str_repeat('z', 661).'Й');
188188
$transport = new TurboSmsTransport('authToken', 'sender', $this->createMock(HttpClientInterface::class));
@@ -193,7 +193,7 @@ public function testInvalidSubjectWithCyrillicSymbols(): void
193193
$transport->send($message);
194194
}
195195

196-
public function testSmsMessageWithInvalidFrom(): void
196+
public function testSmsMessageWithInvalidFrom()
197197
{
198198
$transport = $this->createTransport();
199199

0 commit comments

Comments
 (0)
0