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 = 4-5 lines in 3 locations

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

@@ 273-277 (lines=5) @@
270
			$signupItem->required = ($all_args->{$key} == 'required') || $signupItem->mustRequired || $signupItem->isIdentifier;
271
			$signupItem->isUse = in_array($key, $usable_list) || $signupItem->required;
272
			$signupItem->isPublic = ($all_args->{'is_'.$key.'_public'} == 'Y' && $signupItem->isUse) ? 'Y' : 'N';
273
			if($signupItem->imageType)
274
			{
275
				$signupItem->max_width = $all_args->{$key.'_max_width'};
276
				$signupItem->max_height = $all_args->{$key.'_max_height'};
277
			}
278
279
			// set extends form
280
			if(!$signupItem->isDefaultForm)
@@ 433-436 (lines=4) @@
430
				$signupItem->isPublic = 'N';
431
			}
432
			$signupItem->isIdentifier = ($key == $identifier);
433
			if ($signupItem->imageType){
434
				$signupItem->max_width = $config->{$key.'_max_width'};
435
				$signupItem->max_height = $config->{$key.'_max_height'};
436
			}
437
			if($signupItem->isIdentifier)
438
				array_unshift($list_order, $signupItem);
439
			else
@@ 457-461 (lines=5) @@
454
				$signupItem->isUse = ($item_info->is_active == 'Y');
455
				$signupItem->isPublic = ($signupItem->isUse) ? 'Y' : 'N';
456
				$signupItem->description = $item_info->description;
457
				if($signupItem->imageType)
458
				{
459
					$signupItem->max_width = $config->{$key.'_max_width'};
460
					$signupItem->max_height = $config->{$key.'_max_height'};
461
				}
462
				$list_order[] = $signupItem;
463
			}
464
		}