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

system/database/DB_forge.php 2 locations

@@ 470-477 (lines=8) @@
467
		$query = $this->db->query($query);
468
469
		// Update table list cache
470
		if ($query && ! empty($this->db->data_cache['table_names']))
471
		{
472
			$key = array_search(strtolower($this->db->dbprefix.$table_name), array_map('strtolower', $this->db->data_cache['table_names']), TRUE);
473
			if ($key !== FALSE)
474
			{
475
				unset($this->db->data_cache['table_names'][$key]);
476
			}
477
		}
478
479
		return $query;
480
	}
@@ 541-548 (lines=8) @@
538
						$this->db->escape_identifiers($this->db->dbprefix.$new_table_name))
539
					);
540
541
		if ($result && ! empty($this->db->data_cache['table_names']))
542
		{
543
			$key = array_search(strtolower($this->db->dbprefix.$table_name), array_map('strtolower', $this->db->data_cache['table_names']), TRUE);
544
			if ($key !== FALSE)
545
			{
546
				$this->db->data_cache['table_names'][$key] = $this->db->dbprefix.$new_table_name;
547
			}
548
		}
549
550
		return $result;
551
	}