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 = 12-12 lines in 2 locations

bundle/Controller/Admin/AdminController.php 2 locations

@@ 273-284 (lines=12) @@
270
            return $this->redirectToRoute('netgen_information_collection.route.admin.view', ['collectionId' => $collectionId]);
271
        }
272
273
        if ($request->request->has('DeleteFieldAction')) {
274
275
            $this->checkDeletePermissions();
276
277
            $query = new CollectionFields($contentId, $collectionId, $fields);
278
279
            $this->service->deleteCollectionFields($query);
280
281
            $this->addFlashMessage('success', 'field_removed', $count);
282
283
            return $this->redirectToRoute('netgen_information_collection.route.admin.view', ['collectionId' => $collectionId]);
284
        }
285
286
        if ($request->request->has('AnonymizeFieldAction')) {
287
@@ 297-308 (lines=12) @@
294
            return $this->redirectToRoute('netgen_information_collection.route.admin.view', ['collectionId' => $collectionId]);
295
        }
296
297
        if ($request->request->has('DeleteCollectionAction')) {
298
299
            $this->checkDeletePermissions();
300
301
            $query = new Collections($contentId, [$collectionId]);
302
            $this->service->deleteCollections($query);
303
304
            $this->addFlashMessage("success", "collection_removed");
305
306
            return $this->redirectToRoute('netgen_information_collection.route.admin.collection_list', ['contentId' => $contentId]);
307
308
        }
309
310
        if ($request->request->has('AnonymizeCollectionAction')) {
311