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-11 lines in 4 locations

src/Provider/PiwikDeviceDetector.php 3 locations

@@ 184-194 (lines=11) @@
181
     * @param Model\Bot     $bot
182
     * @param array|boolean $botRaw
183
     */
184
    private function hydrateBot(Model\Bot $bot, $botRaw)
185
    {
186
        $bot->setIsBot(true);
187
188
        if (isset($botRaw['name']) && $this->isRealResult($botRaw['name'])) {
189
            $bot->setName($botRaw['name']);
190
        }
191
        if (isset($botRaw['category']) && $this->isRealResult($botRaw['category'])) {
192
            $bot->setType($botRaw['category']);
193
        }
194
    }
195
196
    /**
197
     *
@@ 201-210 (lines=10) @@
198
     * @param Model\Browser $browser
199
     * @param array|string  $clientRaw
200
     */
201
    private function hydrateBrowser(Model\Browser $browser, $clientRaw)
202
    {
203
        if (isset($clientRaw['name']) && $this->isRealResult($clientRaw['name']) === true) {
204
            $browser->setName($clientRaw['name']);
205
        }
206
207
        if (isset($clientRaw['version']) && $this->isRealResult($clientRaw['version']) === true) {
208
            $browser->getVersion()->setComplete($clientRaw['version']);
209
        }
210
    }
211
212
    /**
213
     *
@@ 229-238 (lines=10) @@
226
     * @param Model\OperatingSystem $os
227
     * @param array|string          $osRaw
228
     */
229
    private function hydrateOperatingSystem(Model\OperatingSystem $os, $osRaw)
230
    {
231
        if (isset($osRaw['name']) && $this->isRealResult($osRaw['name']) === true) {
232
            $os->setName($osRaw['name']);
233
        }
234
235
        if (isset($osRaw['version']) && $this->isRealResult($osRaw['version']) === true) {
236
            $os->getVersion()->setComplete($osRaw['version']);
237
        }
238
    }
239
240
    /**
241
     *

src/Provider/Woothee.php 1 location

@@ 140-149 (lines=10) @@
137
     * @param Model\Browser $browser
138
     * @param array         $resultRaw
139
     */
140
    private function hydrateBrowser(Model\Browser $browser, array $resultRaw)
141
    {
142
        if (isset($resultRaw['name']) && $this->isRealResult($resultRaw['name']) === true) {
143
            $browser->setName($resultRaw['name']);
144
        }
145
146
        if (isset($resultRaw['version']) && $this->isRealResult($resultRaw['version']) === true) {
147
            $browser->getVersion()->setComplete($resultRaw['version']);
148
        }
149
    }
150
151
    /**
152
     *