@@ -107,6 +107,8 @@ public function testValidateNonexistentService()
107
107
108
108
/**
109
109
* @return array
110
+ *
111
+ * @SuppressWarnings(PHPMD.ExcessiveMethodLength)
110
112
*/
111
113
public function validateVersionsDataProvider (): array
112
114
{
@@ -180,6 +182,51 @@ public function validateVersionsDataProvider(): array
180
182
],
181
183
0
182
184
],
185
+ [
186
+ '2.4.1 ' ,
187
+ [
188
+ ServiceInterface::NAME_PHP => '7.4 ' ,
189
+ ServiceInterface::NAME_DB => '10.4 ' ,
190
+ ServiceInterface::NAME_NGINX => '1.9 ' ,
191
+ ServiceInterface::NAME_VARNISH => '6.2 ' ,
192
+ ServiceInterface::NAME_REDIS => '5.0 ' ,
193
+ ServiceInterface::NAME_ELASTICSEARCH => '7.9 ' , // wrong
194
+ ServiceInterface::NAME_RABBITMQ => '3.8 '
195
+ ],
196
+ 1
197
+ ],
198
+ [
199
+ '2.4.2 ' ,
200
+ [
201
+ ServiceInterface::NAME_PHP => '7.4 ' ,
202
+ ServiceInterface::NAME_DB => '10.4 ' ,
203
+ ServiceInterface::NAME_NGINX => '1.9 ' ,
204
+ ServiceInterface::NAME_VARNISH => '6.2 ' ,
205
+ ServiceInterface::NAME_REDIS => '5.0 ' ,
206
+ ServiceInterface::NAME_ELASTICSEARCH => '7.9 ' ,
207
+ ServiceInterface::NAME_RABBITMQ => '3.8 '
208
+ ],
209
+ 0
210
+ ],
211
+ [
212
+ '2.3.6 ' ,
213
+ [
214
+ ServiceInterface::NAME_PHP => '7.4 ' , // wrong
215
+ ServiceInterface::NAME_DB => '10.2 ' ,
216
+ ServiceInterface::NAME_NGINX => '1.19 ' ,
217
+ ServiceInterface::NAME_VARNISH => '6.2 ' ,
218
+ ServiceInterface::NAME_REDIS => '5.0 ' ,
219
+ ServiceInterface::NAME_ELASTICSEARCH => '7.9 ' , //wrong
220
+ ],
221
+ 2
222
+ ],
223
+ [
224
+ '2.3.7 ' ,
225
+ [
226
+ ServiceInterface::NAME_ELASTICSEARCH => '7.9 ' ,
227
+ ],
228
+ 0
229
+ ],
183
230
[
184
231
'2.1.4 ' ,
185
232
[ServiceInterface::NAME_PHP => '5.6 ' ],
0 commit comments