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 5 locations

src/Provider/Http/NeutrinoApiCom.php 1 location

@@ 129-131 (lines=3) @@
126
         * no json returned?
127
         */
128
        $contentType = $response->getHeader('Content-Type');
129
        if (! isset($contentType[0]) || $contentType[0] != 'application/json;charset=UTF-8') {
130
            throw new Exception\RequestException('Could not get valid "application/json" response from "' . $request->getUri() . '". Response is "' . $response->getBody()->getContents() . '"');
131
        }
132
133
        $content = json_decode($response->getBody()->getContents());
134

src/Provider/Http/UdgerCom.php 1 location

@@ 134-136 (lines=3) @@
131
         * no json returned?
132
         */
133
        $contentType = $response->getHeader('Content-Type');
134
        if (! isset($contentType[0]) || $contentType[0] != 'application/json') {
135
            throw new Exception\RequestException('Could not get valid "application/json" response from "' . $request->getUri() . '". Response is "' . $response->getBody()->getContents() . '"');
136
        }
137
138
        $content = json_decode($response->getBody()->getContents());
139

src/Provider/Http/UserAgentApiCom.php 1 location

@@ 129-131 (lines=3) @@
126
         * no json returned?
127
         */
128
        $contentType = $response->getHeader('Content-Type');
129
        if (! isset($contentType[0]) || $contentType[0] != 'application/json') {
130
            throw new Exception\RequestException('Could not get valid "application/json" response from "' . $request->getUri() . '". Response is "' . $response->getBody()->getContents() . '"');
131
        }
132
133
        $content = json_decode($response->getBody()->getContents());
134

src/Provider/Http/UserAgentStringCom.php 1 location

@@ 106-108 (lines=3) @@
103
         * no json returned?
104
         */
105
        $contentType = $response->getHeader('Content-Type');
106
        if (! isset($contentType[0]) || $contentType[0] != 'application/json') {
107
            throw new Exception\RequestException('Could not get valid "application/json" response from "' . $request->getUri() . '". Response is "' . $response->getBody()->getContents() . '"');
108
        }
109
110
        $content = json_decode($response->getBody()->getContents());
111

src/Provider/Http/WhatIsMyBrowserCom.php 1 location

@@ 110-112 (lines=3) @@
107
         * no json returned?
108
         */
109
        $contentType = $response->getHeader('Content-Type');
110
        if (! isset($contentType[0]) || $contentType[0] != 'application/json') {
111
            throw new Exception\RequestException('Could not get valid "application/json" response from "' . $request->getUri() . '". Response is "' . $response->getBody()->getContents() . '"');
112
        }
113
114
        $content = json_decode($response->getBody()->getContents());
115