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

modules/member/member.controller.php 3 locations

@@ 1141-1158 (lines=18) @@
1138
		$member_config = $oModuleModel->getModuleConfig('member');
1139
		$memberInfo = array();
1140
		global $lang;
1141
		if(is_array($member_config->signupForm))
1142
		{
1143
			$exceptForm=array('password', 'find_account_question');
1144
			foreach($member_config->signupForm as $form)
1145
			{
1146
				if(!in_array($form->name, $exceptForm) && $form->isDefaultForm && ($form->required || $form->mustRequired))
1147
				{
1148
					$memberInfo[$lang->{$form->name}] = $member_info->{$form->name};
1149
				}
1150
			}
1151
		}
1152
		else
1153
		{
1154
			$memberInfo[$lang->user_id] = $args->user_id;
1155
			$memberInfo[$lang->user_name] = $args->user_name;
1156
			$memberInfo[$lang->nick_name] = $args->nick_name;
1157
			$memberInfo[$lang->email_address] = $args->email_address;
1158
		}
1159
		Context::set('memberInfo', $memberInfo);
1160
1161
		if(!$member_config->skin) $member_config->skin = "default";
@@ 1394-1411 (lines=18) @@
1391
1392
		$memberInfo = array();
1393
		global $lang;
1394
		if(is_array($member_config->signupForm))
1395
		{
1396
			$exceptForm=array('password', 'find_account_question');
1397
			foreach($member_config->signupForm as $form)
1398
			{
1399
				if(!in_array($form->name, $exceptForm) && $form->isDefaultForm && ($form->required || $form->mustRequired))
1400
				{
1401
					$memberInfo[$lang->{$form->name}] = $member_info->{$form->name};
1402
				}
1403
			}
1404
		}
1405
		else
1406
		{
1407
			$memberInfo[$lang->user_id] = $member_info->user_id;
1408
			$memberInfo[$lang->user_name] = $member_info->user_name;
1409
			$memberInfo[$lang->nick_name] = $member_info->nick_name;
1410
			$memberInfo[$lang->email_address] = $member_info->email_address;
1411
		}
1412
1413
		// Get content of the email to send a member
1414
		Context::set('memberInfo', $memberInfo);
@@ 1520-1537 (lines=18) @@
1517
		$memberInfo = array();
1518
1519
		global $lang;
1520
		if(is_array($member_config->signupForm))
1521
		{
1522
			$exceptForm=array('password', 'find_account_question');
1523
			foreach($member_config->signupForm as $form)
1524
			{
1525
				if(!in_array($form->name, $exceptForm) && $form->isDefaultForm && ($form->required || $form->mustRequired))
1526
				{
1527
					$memberInfo[$lang->{$form->name}] = $member_info->{$form->name};
1528
				}
1529
			}
1530
		}
1531
		else
1532
		{
1533
			$memberInfo[$lang->user_id] = $member_info->user_id;
1534
			$memberInfo[$lang->user_name] = $member_info->user_name;
1535
			$memberInfo[$lang->nick_name] = $member_info->nick_name;
1536
			$memberInfo[$lang->email_address] = $member_info->email_address;
1537
		}
1538
		Context::set('memberInfo', $memberInfo);
1539
1540
		if(!$member_config->skin) $member_config->skin = "default";