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

@@ 1862-1869 (lines=8) @@
1859
		if($use_ssl)
1860
		{
1861
			$port = self::get('_https_port');
1862
			if($port && $port != 443)
1863
			{
1864
				$url_info['port'] = $port;
1865
			}
1866
			elseif($url_info['port'] == 443)
1867
			{
1868
				unset($url_info['port']);
1869
			}
1870
		}
1871
		else
1872
		{
@@ 1871-1882 (lines=12) @@
1868
				unset($url_info['port']);
1869
			}
1870
		}
1871
		else
1872
		{
1873
			$port = self::get('_http_port');
1874
			if($port && $port != 80)
1875
			{
1876
				$url_info['port'] = $port;
1877
			}
1878
			elseif($url_info['port'] == 80)
1879
			{
1880
				unset($url_info['port']);
1881
			}
1882
		}
1883
1884
		$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']);
1885