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 = 13-14 lines in 3 locations

modules/menu/menu.admin.controller.php 3 locations

@@ 2164-2176 (lines=13) @@
2161
		$returnArray = array();
2162
		$date = date('YmdHis');
2163
		// normal button
2164
		if($args->menu_normal_btn)
2165
		{
2166
			$tmp_arr = explode('.',$args->menu_normal_btn['name']);
2167
			$ext = $tmp_arr[count($tmp_arr)-1];
2168
2169
			$filename = sprintf('%s%d.%s.%s.%s', $path, $args->menu_item_srl, $date, 'menu_normal_btn', $ext);
2170
2171
			if(checkUploadedFile($args->menu_normal_btn['tmp_name']))
2172
			{
2173
				move_uploaded_file ( $args->menu_normal_btn ['tmp_name'], $filename );
2174
				$returnArray ['normal_btn'] = $filename;
2175
			}
2176
		}
2177
2178
		// hover button
2179
		if($args->menu_hover_btn)
@@ 2179-2191 (lines=13) @@
2176
		}
2177
2178
		// hover button
2179
		if($args->menu_hover_btn)
2180
		{
2181
			$tmp_arr = explode('.',$args->menu_hover_btn['name']);
2182
			$ext = $tmp_arr[count($tmp_arr)-1];
2183
2184
			$filename = sprintf('%s%d.%s.%s.%s', $path, $args->menu_item_srl, $date, 'menu_hover_btn', $ext);
2185
2186
			if(checkUploadedFile($args->menu_hover_btn['tmp_name']))
2187
			{
2188
				move_uploaded_file($args->menu_hover_btn['tmp_name'], $filename);
2189
				$returnArray['hover_btn'] = $filename;
2190
			}
2191
		}
2192
2193
		// active button
2194
		if($args->menu_active_btn)
@@ 2194-2207 (lines=14) @@
2191
		}
2192
2193
		// active button
2194
		if($args->menu_active_btn)
2195
		{
2196
			$tmp_arr = explode('.',$args->menu_active_btn['name']);
2197
			$ext = $tmp_arr[count($tmp_arr)-1];
2198
2199
			$filename = sprintf('%s%d.%s.%s.%s', $path, $args->menu_item_srl, $date, 'menu_active_btn', $ext);
2200
2201
			if(checkUploadedFile($args->menu_active_btn['tmp_name']))
2202
			{
2203
				move_uploaded_file($args->menu_active_btn['tmp_name'], $filename);
2204
				$returnArray['active_btn'] = $filename;
2205
			}
2206
2207
		}
2208
		return $returnArray;
2209
	}
2210