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

src/Facade/CalDavClient.php 2 locations

@@ 343-357 (lines=15) @@
340
     * @param string $etag
341
     * @return EventDeletedResponse
342
     */
343
    public function deleteEvent($calendar_url, $uid, $etag)
344
    {
345
        $http_response = $this->makeRequest(
346
            RequestFactory::createDeleteRequest
347
            (
348
                $calendar_url.$uid.self::SchedulingInformationSuffix,
349
                $etag
350
            )
351
        );
352
353
        return new EventDeletedResponse
354
        (
355
            $this->server_url, (string)$http_response->getBody(), $http_response->getStatusCode()
356
        );
357
    }
358
359
    /**
360
     * @param string $event_url
@@ 427-441 (lines=15) @@
424
     * @param string|null $etag
425
     * @return CalendarDeletedResponse
426
     */
427
    public function deleteCalendar($calendar_url, $etag = null)
428
    {
429
        $http_response = $this->makeRequest(
430
            RequestFactory::createDeleteRequest
431
            (
432
                $calendar_url,
433
                $etag
434
            )
435
        );
436
437
        return new CalendarDeletedResponse
438
        (
439
            $this->server_url, (string)$http_response->getBody(), $http_response->getStatusCode()
440
        );
441
    }
442
}