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

classes/context/Context.class.php 2 locations

@@ 1902-1909 (lines=8) @@
1899
		if($use_ssl)
1900
		{
1901
			$port = self::get('_https_port');
1902
			if($port && $port != 443)
1903
			{
1904
				$url_info['port'] = $port;
1905
			}
1906
			elseif($url_info['port'] == 443)
1907
			{
1908
				unset($url_info['port']);
1909
			}
1910
		}
1911
		else
1912
		{
@@ 1911-1922 (lines=12) @@
1908
				unset($url_info['port']);
1909
			}
1910
		}
1911
		else
1912
		{
1913
			$port = self::get('_http_port');
1914
			if($port && $port != 80)
1915
			{
1916
				$url_info['port'] = $port;
1917
			}
1918
			elseif($url_info['port'] == 80)
1919
			{
1920
				unset($url_info['port']);
1921
			}
1922
		}
1923
1924
		$url[$ssl_mode][$domain_key] = sprintf('%s://%s%s%s', $use_ssl ? 'https' : $url_info['scheme'], $url_info['host'], $url_info['port'] && $url_info['port'] != 80 ? ':' . $url_info['port'] : '', $url_info['path']);
1925