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

classes/xml/xmlquery/QueryParser.class.php 1 location

@@ 63-73 (lines=11) @@
60
			$module = $id_args[0];
61
			$id = $id_args[1];
62
		}
63
		else if(count($id_args) == 3)
64
		{
65
			$target = $id_args[0];
66
			$targetList = array('modules' => 1, 'addons' => 1, 'widgets' => 1);
67
			if(!isset($targetList[$target]))
68
			{
69
				return;
70
			}
71
			$module = $id_args[1];
72
			$id = $id_args[2];
73
		}
74
75
		// get column properties from the table
76
		$table_file = sprintf('%s%s/%s/schemas/%s.xml', _XE_PATH_, 'modules', $module, $table_name);

classes/db/DB.class.php 1 location

@@ 539-550 (lines=12) @@
536
				$module = $id_args[0];
537
				$id = $id_args[1];
538
			}
539
			elseif(count($id_args) == 3)
540
			{
541
				$target = $id_args[0];
542
				$typeList = array('addons' => 1, 'widgets' => 1);
543
				if(!isset($typeList[$target]))
544
				{
545
					$this->actDBClassFinish();
546
					return;
547
				}
548
				$module = $id_args[1];
549
				$id = $id_args[2];
550
			}
551
			if(!$target || !$module || !$id)
552
			{
553
				$this->actDBClassFinish();