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

bundle/Controller/Admin/AdminController.php 2 locations

@@ 85-93 (lines=9) @@
82
     *
83
     * @return \Symfony\Component\HttpFoundation\Response
84
     */
85
    public function overviewAction(Request $request)
86
    {
87
        $this->checkReadPermissions();
88
89
        $adapter = new InformationCollectionContentsAdapter($this->service, Query::countQuery());
90
        $pager = $this->getPager($adapter, (int) $request->query->get('page'));
91
92
        return $this->render("@NetgenInformationCollection/admin/overview.html.twig", ['objects' => $pager]);
93
    }
94
95
    /**
96
     * Displays list of collection for selected Content
@@ 103-114 (lines=12) @@
100
     *
101
     * @return \Symfony\Component\HttpFoundation\Response
102
     */
103
    public function collectionListAction(Request $request, Content $content)
104
    {
105
        $this->checkReadPermissions();
106
107
        $adapter = new InformationCollectionCollectionListAdapter($this->service, ContentId::withContentId($content->id));
108
        $pager = $this->getPager($adapter, (int)$request->query->get('page'));
109
110
        return $this->render("@NetgenInformationCollection/admin/collection_list.html.twig", [
111
            'objects' => $pager,
112
            'content' => $content,
113
        ]);
114
    }
115
116
    /**
117
     * Handles collection search