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

modules/document/document.controller.php 1 location

@@ 1865-1871 (lines=7) @@
1862
			$list[$category_srl] = $category_list[$i];
1863
		}
1864
		// Create the xml file without node data if no data is obtained
1865
		if(!$list)
1866
		{
1867
			$xml_buff = "<root />";
1868
			FileHandler::writeFile($xml_file, $xml_buff);
1869
			FileHandler::writeFile($php_file, '<?php if(!defined("__XE__")) exit(); ?>');
1870
			return $xml_file;
1871
		}
1872
		// Change to an array if only a single data is obtained
1873
		if(!is_array($list)) $list = array($list);
1874
		// Create a tree for loop

modules/menu/menu.admin.controller.php 1 location

@@ 1782-1788 (lines=7) @@
1779
		$php_file = sprintf(_XE_PATH_ . "files/cache/menu/%s.php", $menu_srl);
1780
		// If no data found, generate an XML file without node data
1781
		$list = $output->data;
1782
		if(!$list)
1783
		{
1784
			$xml_buff = "<root />";
1785
			FileHandler::writeFile($xml_file, $xml_buff);
1786
			FileHandler::writeFile($php_file, '<?php if(!defined("__XE__")) exit(); ?>');
1787
			return $xml_file;
1788
		}
1789
		// Change to an array if only a single data is obtained
1790
		if(!is_array($list)) $list = array($list);
1791
		// Create a tree for loop