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 = 1-4 lines in 7 locations

classes/security/htmlpurifier/library/HTMLPurifier/Filter/ExtractStyleBlocks.php 1 location

@@ 89-91 (lines=3) @@
86
        if (strncmp('<!--', $css, 4) === 0) {
87
            $css = substr($css, 4);
88
        }
89
        if (strlen($css) > 3 && substr($css, -3) == '-->') {
90
            $css = substr($css, 0, -3);
91
        }
92
        $css = trim($css);
93
        set_error_handler('htmlpurifier_filter_extractstyleblocks_muteerrorhandler');
94
        $this->_tidy->parse($css);

libs/phpmailer/class.phpmailer.php 2 locations

@@ 1726-1726 (lines=1) @@
1723
          $fileParts = split("\.", $filename);
1724
          $ext = $fileParts[1];
1725
          $mimeType = $this->_mime_types($ext);
1726
          if ( strlen($basedir) > 1 && substr($basedir,-1) != '/') { $basedir .= '/'; }
1727
          if ( strlen($directory) > 1 && substr($directory,-1) != '/') { $directory .= '/'; }
1728
          if ( $this->AddEmbeddedImage($basedir.$directory.$filename, md5($filename), $filename, 'base64',$mimeType) ) {
1729
            $message = preg_replace("/".$images[1][$i]."=\"".preg_quote($url, '/')."\"/Ui", $images[1][$i]."=\"".$cid."\"", $message);
@@ 1727-1727 (lines=1) @@
1724
          $ext = $fileParts[1];
1725
          $mimeType = $this->_mime_types($ext);
1726
          if ( strlen($basedir) > 1 && substr($basedir,-1) != '/') { $basedir .= '/'; }
1727
          if ( strlen($directory) > 1 && substr($directory,-1) != '/') { $directory .= '/'; }
1728
          if ( $this->AddEmbeddedImage($basedir.$directory.$filename, md5($filename), $filename, 'base64',$mimeType) ) {
1729
            $message = preg_replace("/".$images[1][$i]."=\"".preg_quote($url, '/')."\"/Ui", $images[1][$i]."=\"".$cid."\"", $message);
1730
          }

libs/phpmailer/phpmailer.php 2 locations

@@ 2015-2015 (lines=1) @@
2012
          $cid = 'cid:' . md5($filename);
2013
          $ext = pathinfo($filename, PATHINFO_EXTENSION);
2014
          $mimeType  = self::_mime_types($ext);
2015
          if ( strlen($basedir) > 1 && substr($basedir,-1) != '/') { $basedir .= '/'; }
2016
          if ( strlen($directory) > 1 && substr($directory,-1) != '/') { $directory .= '/'; }
2017
          if ( $this->AddEmbeddedImage($basedir.$directory.$filename, md5($filename), $filename, 'base64',$mimeType) ) {
2018
            $message = preg_replace("/".$images[1][$i]."=\"".preg_quote($url, '/')."\"/Ui", $images[1][$i]."=\"".$cid."\"", $message);
@@ 2016-2016 (lines=1) @@
2013
          $ext = pathinfo($filename, PATHINFO_EXTENSION);
2014
          $mimeType  = self::_mime_types($ext);
2015
          if ( strlen($basedir) > 1 && substr($basedir,-1) != '/') { $basedir .= '/'; }
2016
          if ( strlen($directory) > 1 && substr($directory,-1) != '/') { $directory .= '/'; }
2017
          if ( $this->AddEmbeddedImage($basedir.$directory.$filename, md5($filename), $filename, 'base64',$mimeType) ) {
2018
            $message = preg_replace("/".$images[1][$i]."=\"".preg_quote($url, '/')."\"/Ui", $images[1][$i]."=\"".$cid."\"", $message);
2019
          }

modules/autoinstall/autoinstall.model.php 1 location

@@ 347-350 (lines=4) @@
344
			return;
345
		}
346
347
		if(substr($path, -1) == '/')
348
		{
349
			$path = substr($path, 0, strlen($path) - 1);
350
		}
351
352
		if(!$GLOBLAS['XE_AUTOINSTALL_PACKAGE_SRL_BY_PATH'][$path])
353
		{

modules/module/module.model.php 1 location

@@ 103-103 (lines=1) @@
100
			$hostname = $request_url_parse['host'];
101
			$path = $request_url_parse['path'];
102
			$port = $request_url_parse['port'];
103
			if(strlen($path) >= 1 && substr_compare($path, '/', -1) === 0) $path = substr($path, 0, -1);
104
105
			$domain = sprintf('%s%s%s', $hostname, $port && ($port != 80 )? ':'.$port  : '', $path);
106
		}