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

Service/WebTranslateItRepository.php 2 locations

@@ 86-93 (lines=8) @@
83
    /**
84
     * @return string
85
     */
86
    private function getPullProjectUrl()
87
    {
88
        return str_replace(
89
            ['{base_url}', '{token}', '{format}'],
90
            [$this->baseUrl, $this->readKey, self::FORMAT_JSON],
91
            self::PULL_PROJECT_URL_PATTERN
92
        );
93
    }
94
95
    /**
96
     * @param string $name
@@ 100-107 (lines=8) @@
97
     *
98
     * @return string
99
     */
100
    private function getPullFileUrl($name)
101
    {
102
        return str_replace(
103
            ['{base_url}', '{token}', '{name}'],
104
            [$this->baseUrl, $this->readKey, $name],
105
            self::PULL_FILE_URL_PATTERN
106
        );
107
    }
108
}
109