GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Code Duplication    Length = 61-62 lines in 2 locations

tests/DependencyInjection/ConfigurationTest.php 2 locations

@@ 215-275 (lines=61) @@
212
        );
213
    }
214
215
    public function testConfigurationWithoutRequiredTagInContentTypeHandlers()
216
    {
217
        $this->assertConfigurationIsInvalid(
218
            array(
219
                'netgen_open_graph' => array(
220
                    'system' => array(
221
                        'default' => array(
222
                            'content_type_handlers' => array(
223
                                'content_type_one' => array(
224
                                    array(
225
                                        'handler' => 'field_type/ezstring',
226
                                        'params' => array(
227
                                            'one',
228
                                            'two',
229
                                            'three',
230
                                        ),
231
                                    ),
232
                                    array(
233
                                        'handler' => 'field_type/ezstring',
234
                                        'tag' => 'og:title',
235
                                    ),
236
                                ),
237
                                'content_type_two' => array(
238
                                    array(
239
                                        'handler' => 'field_type/ezstring',
240
                                        'tag' => 'og:title',
241
                                        'params' => array(
242
                                            'one',
243
                                            'two',
244
                                            'three',
245
                                        ),
246
                                    ),
247
                                ),
248
                            ),
249
                            'global_handlers' => array(
250
                                array(
251
                                    'handler' => 'literal/text',
252
                                    'tag' => 'og:type',
253
                                    'params' => array(
254
                                        'one',
255
                                        'two',
256
                                        'three',
257
                                    ),
258
                                ),
259
                                array(
260
                                    'handler' => 'field_type/ezstring',
261
                                    'tag' => 'og:title',
262
                                    'params' => array(
263
                                        'one',
264
                                        'two',
265
                                        'three',
266
                                    ),
267
                                ),
268
                            ),
269
                        ),
270
                    ),
271
                ),
272
            ),
273
            'netgen_open_graph.system.default.content_type_handlers.content_type_one'
274
        );
275
    }
276
277
    public function testConfigurationWithTagEmptyInContentTypeHandlers()
278
    {
@@ 277-338 (lines=62) @@
274
        );
275
    }
276
277
    public function testConfigurationWithTagEmptyInContentTypeHandlers()
278
    {
279
        $this->assertConfigurationIsInvalid(
280
            array(
281
                'netgen_open_graph' => array(
282
                    'system' => array(
283
                        'default' => array(
284
                            'content_type_handlers' => array(
285
                                'content_type_one' => array(
286
                                    array(
287
                                        'handler' => 'field_type/ezstring',
288
                                        'tag' => '',
289
                                        'params' => array(
290
                                            'one',
291
                                            'two',
292
                                            'three',
293
                                        ),
294
                                    ),
295
                                    array(
296
                                        'handler' => 'field_type/ezstring',
297
                                        'tag' => 'og:title',
298
                                    ),
299
                                ),
300
                                'content_type_two' => array(
301
                                    array(
302
                                        'handler' => 'field_type/ezstring',
303
                                        'tag' => 'og:title',
304
                                        'params' => array(
305
                                            'one',
306
                                            'two',
307
                                            'three',
308
                                        ),
309
                                    ),
310
                                ),
311
                            ),
312
                            'global_handlers' => array(
313
                                array(
314
                                    'handler' => 'literal/text',
315
                                    'tag' => 'og:type',
316
                                    'params' => array(
317
                                        'one',
318
                                        'two',
319
                                        'three',
320
                                    ),
321
                                ),
322
                                array(
323
                                    'handler' => 'field_type/ezstring',
324
                                    'tag' => 'og:title',
325
                                    'params' => array(
326
                                        'one',
327
                                        'two',
328
                                        'three',
329
                                    ),
330
                                ),
331
                            ),
332
                        ),
333
                    ),
334
                ),
335
            ),
336
            'netgen_open_graph.system.default.content_type_handlers.content_type_one'
337
        );
338
    }
339
340
    public function testConfigurationWithoutRequiredHandlerInGlobalHandlers()
341
    {