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

src/Service/CommunityOAuth.php 1 location

@@ 27-36 (lines=10) @@
24
     *
25
     * @return Response
26
     */
27
    public function getUser($accessToken = null, array $options = [])
28
    {
29
        if (null === $accessToken) {
30
            $options['access_token'] = $this->blizzardClient->getAccessToken();
31
        } else {
32
            $options['access_token'] = $accessToken;
33
        }
34
35
        return $this->request('/account/user', $options);
36
    }
37
38
    // endregion Account API
39
}

src/Service/Starcraft.php 1 location

@@ 137-146 (lines=10) @@
134
     *
135
     * @return Response
136
     */
137
    public function getProfileUser($accessToken = null, array $options = [])
138
    {
139
        if (null === $accessToken) {
140
            $options['access_token'] = $this->blizzardClient->getAccessToken();
141
        } else {
142
            $options['access_token'] = $accessToken;
143
        }
144
145
        return $this->request('/profile/user', $options);
146
    }
147
148
    // endregion Community OAuth API
149
}

src/Service/WorldOfWarcraft.php 1 location

@@ 520-529 (lines=10) @@
517
     *
518
     * @return Response
519
     */
520
    public function getProfileCharacters($accessToken = null, array $options = [])
521
    {
522
        if (null === $accessToken) {
523
            $options['access_token'] = $this->blizzardClient->getAccessToken();
524
        } else {
525
            $options['access_token'] = $accessToken;
526
        }
527
528
        return $this->request('/user/characters', $options);
529
    }
530
531
    // endregion Community OAuth API
532
}