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

modules/member/member.controller.php 4 locations

@@ 346-350 (lines=5) @@
343
		if($args->password1) $args->password = $args->password1;
344
345
		// check password strength
346
		if(!$oMemberModel->checkPasswordStrength($args->password, $config->password_strength))
347
		{
348
			$message = Context::getLang('about_password_strength');
349
			return new BaseObject(-1, $message[$config->password_strength]);
350
		}
351
352
		// Remove some unnecessary variables from all the vars
353
		$all_args = Context::getRequestVars();
@@ 2129-2133 (lines=5) @@
2126
		// Check password strength
2127
		if($args->password && !$password_is_hashed)
2128
		{
2129
			if(!$oMemberModel->checkPasswordStrength($args->password, $config->password_strength))
2130
			{
2131
				$message = Context::getLang('about_password_strength');
2132
				return new BaseObject(-1, $message[$config->password_strength]);
2133
			}
2134
			$args->password = $oMemberModel->hashPassword($args->password);
2135
		}
2136
		elseif(!$args->password)
@@ 2382-2386 (lines=5) @@
2379
		// Check password strength
2380
		if($args->password)
2381
		{
2382
			if(!$oMemberModel->checkPasswordStrength($args->password, $config->password_strength))
2383
			{
2384
				$message = Context::getLang('about_password_strength');
2385
				return new BaseObject(-1, $message[$config->password_strength]);
2386
			}
2387
			$args->password = $oMemberModel->hashPassword($args->password);
2388
		}
2389
		else
@@ 2488-2492 (lines=5) @@
2485
			$oMemberModel = getModel('member');
2486
			$config = $oMemberModel->getMemberConfig();
2487
2488
			if(!$oMemberModel->checkPasswordStrength($args->password, $config->password_strength))
2489
			{
2490
				$message = Context::getLang('about_password_strength');
2491
				return new BaseObject(-1, $message[$config->password_strength]);
2492
			}
2493
2494
			$args->password = $oMemberModel->hashPassword($args->password);
2495
		}