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

src/OAuth/OAuthModule.php 1 location

@@ 100-113 (lines=14) @@
97
            ]
98
        );
99
100
        if (!$this->options['disable_token_endpoint']) {
101
            $service->post(
102
                $this->options['route_prefix'].'/token',
103
                function (Request $request, UserInfoInterface $userInfo = null) {
104
                    return $this->server->postToken($request, $userInfo);
105
                },
106
                [
107
                    'fkooman\Rest\Plugin\Authentication\AuthenticationPlugin' => [
108
                        'activate' => ['client'],
109
                        'require' => false,
110
                    ],
111
                ]
112
            );
113
        }
114
115
        if (!$this->options['disable_introspect_endpoint']) {
116
            $service->post(

src/OAuth/OAuthService.php 1 location

@@ 102-115 (lines=14) @@
99
            ]
100
        );
101
102
        if (!$this->options['disable_token_endpoint']) {
103
            $this->post(
104
                $this->options['route_prefix'].'/token',
105
                function (Request $request, UserInfoInterface $userInfo = null) {
106
                    return $this->server->postToken($request, $userInfo);
107
                },
108
                [
109
                    'fkooman\Rest\Plugin\Authentication\AuthenticationPlugin' => [
110
                        'activate' => ['client'],
111
                        'require' => false,
112
                    ],
113
                ]
114
            );
115
        }
116
117
        if (!$this->options['disable_introspect_endpoint']) {
118
            $this->post(