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

modules/layout/layout.class.php 1 location

@@ 103-116 (lines=14) @@
100
101
			$args->layout = '.';
102
			$output = executeQueryArray('layout.getLayoutDotList', $args);
103
			if($output->data && count($output->data) > 0)
104
			{
105
				foreach($output->data as $layout)
106
				{
107
					$layout_path = explode('.', $layout->layout);
108
					if(count($layout_path) != 2) continue;
109
					if(is_dir(sprintf(_XE_PATH_ . 'themes/%s/layouts/%s', $layout_path[0], $layout_path[1])))
110
					{
111
						$args->layout = implode('|@|', $layout_path);
112
						$args->layout_srl = $layout->layout_srl;
113
						$output = executeQuery('layout.updateLayout', $args);
114
					}
115
				}
116
			}
117
118
			$oModuleController->insertUpdatedLog($version_update_id);
119
		}

modules/module/module.class.php 1 location

@@ 397-411 (lines=15) @@
394
395
			$args->skin = '.';
396
			$output = executeQueryArray('module.getModuleSkinDotList', $args);
397
			if($output->data && count($output->data) > 0)
398
			{
399
				foreach($output->data as $item)
400
				{
401
					$skin_path = explode('.', $item->skin);
402
					if(count($skin_path) != 2) continue;
403
					if(is_dir(sprintf(_XE_PATH_ . 'themes/%s/modules/%s', $skin_path[0], $skin_path[1])))
404
					{
405
						unset($args);
406
						$args->skin = $item->skin;
407
						$args->new_skin = implode('|@|', $skin_path);
408
						$output = executeQuery('module.updateSkinAll', $args);
409
					}
410
				}
411
			}
412
413
			// XE 1.7
414
			if(!$oDB->isColumnExists("modules", "is_mskin_fix"))