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

src/Controller.php 2 locations

@@ 139-145 (lines=7) @@
136
            case '/.well-known/webfinger':
137
138
                return $this->webfingerModule->getWebfinger($request);
139
            case '/authorize':
140
                $userId = $this->auth['form']->requireAuth($request);
141
                if ($userId instanceof Response) {
142
                    return $userId;
143
                }
144
145
                return $this->oauthModule->getAuthorize($request, $userId);
146
            case '/':
147
                $userId = $this->auth['form']->optionalAuth($request);
148
@@ 150-156 (lines=7) @@
147
                $userId = $this->auth['form']->optionalAuth($request);
148
149
                return $this->uiModule->getRootPage($request, $userId);
150
            case '/account':
151
                $userId = $this->auth['form']->requireAuth($request);
152
                if ($userId instanceof Response) {
153
                    return $userId;
154
                }
155
156
                return $this->uiModule->getAccountPage($request, $userId);
157
            default:
158
                $tokenInfo = $this->auth['bearer']->optionalAuth($request);
159