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

tests/ClientTest.php 2 locations

@@ 81-92 (lines=12) @@
78
        $this->assertValidApiRatesResponseFormat($apiResponse);
79
    }
80
81
    public function testGetHistoricalWithInvalidAppId()
82
    {
83
        $histDate = new \DateTime();
84
        $histDate->modify('-7 days');
85
86
        $client = new Client();
87
        $client->setAppId('test');
88
89
        $apiResponse = $client->getHistorical($histDate);
90
91
        $this->assertInvalidApiResponseFormat($apiResponse);
92
    }
93
94
    public function testGetHistoricalWithValidAppId()
95
    {
@@ 94-105 (lines=12) @@
91
        $this->assertInvalidApiResponseFormat($apiResponse);
92
    }
93
94
    public function testGetHistoricalWithValidAppId()
95
    {
96
        $histDate = new \DateTime();
97
        $histDate->modify('-7 days');
98
99
        $client = new Client();
100
        $client->setAppId($this->appId);
101
102
        $apiResponse = $client->getHistorical($histDate);
103
104
        $this->assertValidApiRatesResponseFormat($apiResponse);
105
    }
106
107
    public function testGetHistoricalWithInvalidDate()
108
    {