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

@@ 1146-1163 (lines=18) @@
1143
		$member_config = $oModuleModel->getModuleConfig('member');
1144
		$memberInfo = array();
1145
		global $lang;
1146
		if(is_array($member_config->signupForm))
1147
		{
1148
			$exceptForm=array('password', 'find_account_question');
1149
			foreach($member_config->signupForm as $form)
1150
			{
1151
				if(!in_array($form->name, $exceptForm) && $form->isDefaultForm && ($form->required || $form->mustRequired))
1152
				{
1153
					$memberInfo[$lang->{$form->name}] = $member_info->{$form->name};
1154
				}
1155
			}
1156
		}
1157
		else
1158
		{
1159
			$memberInfo[$lang->user_id] = $args->user_id;
1160
			$memberInfo[$lang->user_name] = $args->user_name;
1161
			$memberInfo[$lang->nick_name] = $args->nick_name;
1162
			$memberInfo[$lang->email_address] = $args->email_address;
1163
		}
1164
		Context::set('memberInfo', $memberInfo);
1165
1166
		if(!$member_config->skin) $member_config->skin = "default";
@@ 1419-1436 (lines=18) @@
1416
1417
		$memberInfo = array();
1418
		global $lang;
1419
		if(is_array($member_config->signupForm))
1420
		{
1421
			$exceptForm=array('password', 'find_account_question');
1422
			foreach($member_config->signupForm as $form)
1423
			{
1424
				if(!in_array($form->name, $exceptForm) && $form->isDefaultForm && ($form->required || $form->mustRequired))
1425
				{
1426
					$memberInfo[$lang->{$form->name}] = $member_info->{$form->name};
1427
				}
1428
			}
1429
		}
1430
		else
1431
		{
1432
			$memberInfo[$lang->user_id] = $member_info->user_id;
1433
			$memberInfo[$lang->user_name] = $member_info->user_name;
1434
			$memberInfo[$lang->nick_name] = $member_info->nick_name;
1435
			$memberInfo[$lang->email_address] = $member_info->email_address;
1436
		}
1437
1438
		// Get content of the email to send a member
1439
		Context::set('memberInfo', $memberInfo);
@@ 1545-1562 (lines=18) @@
1542
		$memberInfo = array();
1543
1544
		global $lang;
1545
		if(is_array($member_config->signupForm))
1546
		{
1547
			$exceptForm=array('password', 'find_account_question');
1548
			foreach($member_config->signupForm as $form)
1549
			{
1550
				if(!in_array($form->name, $exceptForm) && $form->isDefaultForm && ($form->required || $form->mustRequired))
1551
				{
1552
					$memberInfo[$lang->{$form->name}] = $member_info->{$form->name};
1553
				}
1554
			}
1555
		}
1556
		else
1557
		{
1558
			$memberInfo[$lang->user_id] = $member_info->user_id;
1559
			$memberInfo[$lang->user_name] = $member_info->user_name;
1560
			$memberInfo[$lang->nick_name] = $member_info->nick_name;
1561
			$memberInfo[$lang->email_address] = $member_info->email_address;
1562
		}
1563
		Context::set('memberInfo', $memberInfo);
1564
1565
		if(!$member_config->skin) $member_config->skin = "default";