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

src/Request.php 1 location

@@ 235-241 (lines=7) @@
232
233
    /*  no body  */
234
235
    protected function ini($method, $url,  $data , array $options = array())
236
    {
237
        $options = array('url' => $url, 'method' => $method, 'data' => $data) + $options;
238
        $this->addOptions($options);
239
240
        return $this;
241
    }
242
243
    public function addOptions(array $options = array())
244
    {

src/MultiRequest.php 1 location

@@ 40-48 (lines=9) @@
37
        self::$multiHandler = curl_multi_init();
38
    }
39
40
    public function add($method, $uri, $payload, array $options = array())
41
    {
42
        $options = array(
43
                'method' => $method,
44
                'url' => $uri,
45
                'data' => $payload,
46
            ) + $options;
47
        $this->addOptions(array($options));
48
        return $this;
49
    }
50
51
    /**