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

modules/addon/addon.admin.model.php 1 location

@@ 216-224 (lines=9) @@
213
			$addon_info->license = $xml_obj->license->body;
214
			$addon_info->license_link = $xml_obj->license->attrs->link;
215
216
			if(!is_array($xml_obj->author))
217
			{
218
				$author_list = array();
219
				$author_list[] = $xml_obj->author;
220
			}
221
			else
222
			{
223
				$author_list = $xml_obj->author;
224
			}
225
226
			$addon_info->author = array();
227
			foreach($author_list as $author)

modules/layout/layout.model.php 1 location

@@ 543-544 (lines=2) @@
540
			$buff[] = sprintf('$layout_info->layout_type = "%s";', $layout_type);
541
542
			// Author information
543
			if(!is_array($xml_obj->author)) $author_list[] = $xml_obj->author;
544
			else $author_list = $xml_obj->author;
545
546
			$buff[] = '$layout_info->author = array();';
547
			for($i=0, $c=count($author_list); $i<$c; $i++)

modules/module/module.model.php 2 locations

@@ 773-774 (lines=2) @@
770
			$module_info->license = $xml_obj->license->body;
771
			$module_info->license_link = $xml_obj->license->attrs->link;
772
773
			if(!is_array($xml_obj->author)) $author_list[] = $xml_obj->author;
774
			else $author_list = $xml_obj->author;
775
776
			foreach($author_list as $author)
777
			{
@@ 1158-1159 (lines=2) @@
1155
			$skin_info->license_link = $xml_obj->license->attrs->link;
1156
			$skin_info->description = $xml_obj->description->body;
1157
1158
			if(!is_array($xml_obj->author)) $author_list[] = $xml_obj->author;
1159
			else $author_list = $xml_obj->author;
1160
1161
			foreach($author_list as $author)
1162
			{

modules/widget/widget.model.php 2 locations

@@ 164-165 (lines=2) @@
161
			$buff .= sprintf('$widget_info->widget_srl = $widget_srl;');
162
			$buff .= sprintf('$widget_info->widget_title = $widget_title;');
163
			// Author information
164
			if(!is_array($xml_obj->author)) $author_list[] = $xml_obj->author;
165
			else $author_list = $xml_obj->author;
166
167
			for($i=0; $i < count($author_list); $i++)
168
			{
@@ 307-308 (lines=2) @@
304
		if(file_exists($preview_file)) $buff[] = sprintf('$widgetStyle_info->preview = "%s";', $preview_file);
305
306
		// Author information
307
		if(!is_array($xml_obj->author)) $author_list[] = $xml_obj->author;
308
		else $author_list = $xml_obj->author;
309
310
		foreach($author_list as $idx => $author)
311
		{