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

modules/document/document.item.php 1 location

@@ 332-332 (lines=1) @@
329
		$url = trim($this->get('homepage'));
330
		if(!$url) return;
331
332
		if(strncasecmp('http://', $url, 7) !== 0 && strncasecmp('https://', $url, 8) !== 0)  $url = 'http://' . $url;
333
334
		return $url;
335
	}

modules/install/install.admin.controller.php 1 location

@@ 73-73 (lines=1) @@
70
		}
71
		
72
		$default_url = Context::get('default_url');
73
		if($default_url && strncasecmp('http://', $default_url, 7) !== 0 && strncasecmp('https://', $default_url, 8) !== 0) $default_url = 'http://'.$default_url;
74
		if($default_url && substr($default_url, -1) !== '/') $default_url = $default_url.'/';
75
76
		/* convert NON Alphabet URL to punycode URL - Alphabet URL will not be changed */