@@ -46,7 +46,7 @@ public static function unsupportedMessagesProvider(): iterable
46
46
yield [new DummyMessage ()];
47
47
}
48
48
49
- public function testSuccessfulSend (): void
49
+ public function testSuccessfulSend ()
50
50
{
51
51
$ response = $ this ->createMock (ResponseInterface::class);
52
52
$ response
@@ -93,7 +93,7 @@ public function testSuccessfulSend(): void
93
93
self ::assertSame ('f83f8868-5e46-c6cf-e4fb-615e5a293754 ' , $ sentMessage ->getMessageId ());
94
94
}
95
95
96
- public function testFailedSendWithPartialAccepted (): void
96
+ public function testFailedSendWithPartialAccepted ()
97
97
{
98
98
$ response = $ this ->createMock (ResponseInterface::class);
99
99
$ response
@@ -130,7 +130,7 @@ public function testFailedSendWithPartialAccepted(): void
130
130
$ transport ->send ($ message );
131
131
}
132
132
133
- public function testFailedSend (): void
133
+ public function testFailedSend ()
134
134
{
135
135
$ response = $ this ->createMock (ResponseInterface::class);
136
136
$ response
@@ -160,7 +160,7 @@ public function testFailedSend(): void
160
160
$ transport ->send ($ message );
161
161
}
162
162
163
- public function testInvalidFrom (): void
163
+ public function testInvalidFrom ()
164
164
{
165
165
$ this ->expectException (LengthException::class);
166
166
$ this ->expectExceptionMessage ('The sender length of a TurboSMS message must not exceed 20 characters. ' );
@@ -171,7 +171,7 @@ public function testInvalidFrom(): void
171
171
$ transport ->send ($ message );
172
172
}
173
173
174
- public function testInvalidSubjectWithLatinSymbols (): void
174
+ public function testInvalidSubjectWithLatinSymbols ()
175
175
{
176
176
$ message = new SmsMessage ('380931234567 ' , str_repeat ('z ' , 1522 ));
177
177
$ transport = new TurboSmsTransport ('authToken ' , 'sender ' , $ this ->createMock (HttpClientInterface::class));
@@ -182,7 +182,7 @@ public function testInvalidSubjectWithLatinSymbols(): void
182
182
$ transport ->send ($ message );
183
183
}
184
184
185
- public function testInvalidSubjectWithCyrillicSymbols (): void
185
+ public function testInvalidSubjectWithCyrillicSymbols ()
186
186
{
187
187
$ message = new SmsMessage ('380931234567 ' , str_repeat ('z ' , 661 ).'Й ' );
188
188
$ transport = new TurboSmsTransport ('authToken ' , 'sender ' , $ this ->createMock (HttpClientInterface::class));
@@ -193,7 +193,7 @@ public function testInvalidSubjectWithCyrillicSymbols(): void
193
193
$ transport ->send ($ message );
194
194
}
195
195
196
- public function testSmsMessageWithInvalidFrom (): void
196
+ public function testSmsMessageWithInvalidFrom ()
197
197
{
198
198
$ transport = $ this ->createTransport ();
199
199
0 commit comments