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

src/OAuth/OAuthModule.php 1 location

@@ 115-127 (lines=13) @@
112
            );
113
        }
114
115
        if (!$this->options['disable_introspect_endpoint']) {
116
            $service->post(
117
                $this->options['route_prefix'].'/introspect',
118
                function (Request $request, UserInfoInterface $userInfo) {
119
                    return $this->server->postIntrospect($request, $userInfo);
120
                },
121
                [
122
                    'fkooman\Rest\Plugin\Authentication\AuthenticationPlugin' => [
123
                        'activate' => ['resource_server'],
124
                    ],
125
                ]
126
            );
127
        }
128
    }
129
}
130

src/OAuth/OAuthService.php 1 location

@@ 117-129 (lines=13) @@
114
            );
115
        }
116
117
        if (!$this->options['disable_introspect_endpoint']) {
118
            $this->post(
119
                $this->options['route_prefix'].'/introspect',
120
                function (Request $request, UserInfoInterface $userInfo) {
121
                    return $this->server->postIntrospect($request, $userInfo);
122
                },
123
                [
124
                    'fkooman\Rest\Plugin\Authentication\AuthenticationPlugin' => [
125
                        'activate' => ['resource_server'],
126
                    ],
127
                ]
128
            );
129
        }
130
    }
131
}
132