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

system/libraries/Xmlrpc.php 1 location

@@ 738-764 (lines=27) @@
735
			.'Content-Length: '.strlen($msg->payload).$r.$r
736
			.$msg->payload;
737
738
		for ($written = $timestamp = 0, $length = strlen($op); $written < $length; $written += $result)
739
		{
740
			if (($result = fwrite($fp, substr($op, $written))) === FALSE)
741
			{
742
				break;
743
			}
744
			// See https://bugs.php.net/bug.php?id=39598 and http://php.net/manual/en/function.fwrite.php#96951
745
			elseif ($result === 0)
746
			{
747
				if ($timestamp === 0)
748
				{
749
					$timestamp = time();
750
				}
751
				elseif ($timestamp < (time() - $this->timeout))
752
				{
753
					$result = FALSE;
754
					break;
755
				}
756
757
				usleep(250000);
758
				continue;
759
			}
760
			else
761
			{
762
				$timestamp = 0;
763
			}
764
		}
765
766
		if ($result === FALSE)
767
		{

system/libraries/Email.php 1 location

@@ 2166-2192 (lines=27) @@
2163
	protected function _send_data($data)
2164
	{
2165
		$data .= $this->newline;
2166
		for ($written = $timestamp = 0, $length = strlen($data); $written < $length; $written += $result)
2167
		{
2168
			if (($result = fwrite($this->_smtp_connect, substr($data, $written))) === FALSE)
2169
			{
2170
				break;
2171
			}
2172
			// See https://bugs.php.net/bug.php?id=39598 and http://php.net/manual/en/function.fwrite.php#96951
2173
			elseif ($result === 0)
2174
			{
2175
				if ($timestamp === 0)
2176
				{
2177
					$timestamp = time();
2178
				}
2179
				elseif ($timestamp < (time() - $this->smtp_timeout))
2180
				{
2181
					$result = FALSE;
2182
					break;
2183
				}
2184
2185
				usleep(250000);
2186
				continue;
2187
			}
2188
			else
2189
			{
2190
				$timestamp = 0;
2191
			}
2192
		}
2193
2194
		if ($result === FALSE)
2195
		{