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

carddav2fb.php 2 locations

@@ 702-706 (lines=5) @@
699
    // perform an ftps-connection to copy over the photos to a specified directory
700
    $ftp_server = $this->config['fritzbox_ip_ftp'];
701
    $conn_id = ftp_ssl_connect($ftp_server);
702
    if($conn_id == false)
703
    {
704
      print " WARNING: Secure connection to FTP-server '" . $ftp_server . "' failed, retrying without SSL." . PHP_EOL;
705
      $conn_id = ftp_connect($ftp_server);
706
    }
707
708
    if($conn_id != false)
709
    {
@@ 743-747 (lines=5) @@
740
                  // retry when a fault occurs.
741
                  print " retrying... ";
742
                  $conn_id = ftp_ssl_connect($ftp_server);
743
                  if($conn_id == false)
744
                  {
745
                    print " WARNING: Secure re-connection to FTP-server '" . $ftp_server . "' failed, retrying without SSL." . PHP_EOL;
746
                    $conn_id = ftp_connect($ftp_server);
747
                  }
748
749
                  if($conn_id == false)
750
                  {