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

src/Provider/Http/UdgerCom.php 1 location

@@ 154-156 (lines=3) @@
151
        /*
152
         * Missing data?
153
         */
154
        if (! $content instanceof stdClass || ! isset($content->info)) {
155
            throw new Exception\RequestException('Could not get valid response from "' . $request->getUri() . '". Response is "' . $response->getBody()->getContents() . '"');
156
        }
157
158
        return $content;
159
    }

src/Provider/Http/UserAgentApiCom.php 1 location

@@ 149-151 (lines=3) @@
146
        /*
147
         * Missing data?
148
         */
149
        if (! $content instanceof stdClass || ! isset($content->data)) {
150
            throw new Exception\RequestException('Could not get valid response from "' . $request->getUri() . '". Data is missing "' . $response->getBody()->getContents() . '"');
151
        }
152
153
        return $content->data;
154
    }

src/Provider/Http/WhatIsMyBrowserCom.php 1 location

@@ 145-147 (lines=3) @@
142
            throw new Exception\InvalidCredentialsException('Your API key "' . $this->apiKey . '" is not valid for ' . $this->getName());
143
        }
144
145
        if (!isset($content->result) || $content->result !== 'success') {
146
            throw new Exception\RequestException('Could not get valid response from "' . $request->getUri() . '". Response is "' . $response->getBody()->getContents() . '"');
147
        }
148
149
        /*
150
         * Missing data?